Skip to content

Commit 1c91c78

Browse files
authored
Rollup merge of #43597 - dhduvall:master, r=alexcrichton
Fix the Solaris pthread_t raw type in std to match what's in libc The old type causes failures when building cargo 0.20.0 after rust-lang/libc@8304e06b5.
2 parents 08c0bbd + bdb53e5 commit 1c91c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/os/solaris/raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use os::unix::raw::{uid_t, gid_t};
3232
#[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64;
3333

3434
#[stable(feature = "pthread_t", since = "1.8.0")]
35-
pub type pthread_t = usize;
35+
pub type pthread_t = u32;
3636

3737
#[repr(C)]
3838
#[derive(Clone)]

0 commit comments

Comments
 (0)