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.
This commit is contained in:
commit
1c91c785da
@ -32,7 +32,7 @@ use os::unix::raw::{uid_t, gid_t};
|
|||||||
#[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64;
|
#[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64;
|
||||||
|
|
||||||
#[stable(feature = "pthread_t", since = "1.8.0")]
|
#[stable(feature = "pthread_t", since = "1.8.0")]
|
||||||
pub type pthread_t = usize;
|
pub type pthread_t = u32;
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
Loading…
Reference in New Issue
Block a user