diff options
| author | Danek Duvall <danek.duvall@oracle.com> | 2017-08-01 12:38:36 -0700 |
|---|---|---|
| committer | Danek Duvall <danek.duvall@oracle.com> | 2017-08-01 12:38:36 -0700 |
| commit | bdb53e55b0d30ad4f5438eff74d0b705f8675d98 (patch) | |
| tree | 15d40a41bd78786ab2de261ae41eb6c5f815fa29 | |
| parent | c2407516ff33d03d0e24c6a4268a5581e9bc8b4d (diff) | |
| download | rust-bdb53e55b0d30ad4f5438eff74d0b705f8675d98.tar.gz rust-bdb53e55b0d30ad4f5438eff74d0b705f8675d98.zip | |
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 8304e06b5 in the libc repo.
| -rw-r--r-- | src/libstd/os/solaris/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/os/solaris/raw.rs b/src/libstd/os/solaris/raw.rs index b84fdba9ca2..5a813c5c76b 100644 --- a/src/libstd/os/solaris/raw.rs +++ b/src/libstd/os/solaris/raw.rs @@ -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 = "pthread_t", since = "1.8.0")] -pub type pthread_t = usize; +pub type pthread_t = u32; #[repr(C)] #[derive(Clone)] |
