Skip to content

Commit bdb53e5

Browse files
author
Danek Duvall
committed
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 changeset 8304e06 in the libc repo.
1 parent c240751 commit bdb53e5

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)