diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-06-21 10:14:16 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-06-23 14:08:11 -0700 |
| commit | c3e8c178abe08c3427046490242ddb9eb3704b03 (patch) | |
| tree | 078736308106998fd9baacab0a9113fb6c5b73d1 /src/libstd/os | |
| parent | fe96928d7de991e527a7ed7b88bb30aa965c8a08 (diff) | |
| download | rust-c3e8c178abe08c3427046490242ddb9eb3704b03.tar.gz rust-c3e8c178abe08c3427046490242ddb9eb3704b03.zip | |
std: Fix up stabilization discrepancies
* Remove the deprecated `CharRange` type which was forgotten to be removed awhile back. * Stabilize the `os::$platform::raw::pthread_t` type which was intended to be stabilized as part of #32804
Diffstat (limited to 'src/libstd/os')
| -rw-r--r-- | src/libstd/os/android/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/bitrig/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/dragonfly/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/emscripten/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/freebsd/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/ios/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/linux/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/macos/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/nacl/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/netbsd/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/openbsd/raw.rs | 3 | ||||
| -rw-r--r-- | src/libstd/os/solaris/raw.rs | 3 |
12 files changed, 24 insertions, 12 deletions
diff --git a/src/libstd/os/android/raw.rs b/src/libstd/os/android/raw.rs index ce6e810592c..5e473a933a6 100644 --- a/src/libstd/os/android/raw.rs +++ b/src/libstd/os/android/raw.rs @@ -20,7 +20,8 @@ use os::raw::c_long; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = c_long; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = c_long; #[doc(inline)] #[stable(feature = "raw_ext", since = "1.1.0")] diff --git a/src/libstd/os/bitrig/raw.rs b/src/libstd/os/bitrig/raw.rs index 3fc3c5937f4..28958575eb2 100644 --- a/src/libstd/os/bitrig/raw.rs +++ b/src/libstd/os/bitrig/raw.rs @@ -31,7 +31,8 @@ use os::unix::raw::{uid_t, gid_t}; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/dragonfly/raw.rs b/src/libstd/os/dragonfly/raw.rs index 83e0be0d158..5da2540ceee 100644 --- a/src/libstd/os/dragonfly/raw.rs +++ b/src/libstd/os/dragonfly/raw.rs @@ -30,7 +30,8 @@ use os::raw::c_long; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/emscripten/raw.rs b/src/libstd/os/emscripten/raw.rs index 9da400a6913..bcd85f8e29a 100644 --- a/src/libstd/os/emscripten/raw.rs +++ b/src/libstd/os/emscripten/raw.rs @@ -25,7 +25,8 @@ use os::raw::{c_long, c_short, c_uint, c_ulong}; #[stable(feature = "raw_ext", since = "1.1.0")] pub type dev_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type mode_t = u32; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = c_ulong; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = c_ulong; #[doc(inline)] #[stable(feature = "raw_ext", since = "1.1.0")] pub type blkcnt_t = u64; diff --git a/src/libstd/os/freebsd/raw.rs b/src/libstd/os/freebsd/raw.rs index 989eef63d82..c755e5af8d9 100644 --- a/src/libstd/os/freebsd/raw.rs +++ b/src/libstd/os/freebsd/raw.rs @@ -30,7 +30,8 @@ use os::raw::c_long; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/ios/raw.rs b/src/libstd/os/ios/raw.rs index 5a2de14b28b..8b34a932a17 100644 --- a/src/libstd/os/ios/raw.rs +++ b/src/libstd/os/ios/raw.rs @@ -29,7 +29,8 @@ use os::raw::c_long; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/linux/raw.rs b/src/libstd/os/linux/raw.rs index 4113966841b..1be76961fea 100644 --- a/src/libstd/os/linux/raw.rs +++ b/src/libstd/os/linux/raw.rs @@ -23,7 +23,8 @@ use os::raw::c_ulong; #[stable(feature = "raw_ext", since = "1.1.0")] pub type dev_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type mode_t = u32; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = c_ulong; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = c_ulong; #[doc(inline)] #[stable(feature = "raw_ext", since = "1.1.0")] diff --git a/src/libstd/os/macos/raw.rs b/src/libstd/os/macos/raw.rs index 2148670ccbd..8f9b29462c4 100644 --- a/src/libstd/os/macos/raw.rs +++ b/src/libstd/os/macos/raw.rs @@ -29,7 +29,8 @@ use os::raw::c_long; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/nacl/raw.rs b/src/libstd/os/nacl/raw.rs index 9a10fbcc30b..3c3d4410a2a 100644 --- a/src/libstd/os/nacl/raw.rs +++ b/src/libstd/os/nacl/raw.rs @@ -30,7 +30,8 @@ #[stable(feature = "raw_ext", since = "1.1.0")] pub type blksize_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type blkcnt_t = u64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/libstd/os/netbsd/raw.rs b/src/libstd/os/netbsd/raw.rs index bc30c1a7f48..9b2e037e59a 100644 --- a/src/libstd/os/netbsd/raw.rs +++ b/src/libstd/os/netbsd/raw.rs @@ -31,7 +31,8 @@ use os::unix::raw::{uid_t, gid_t}; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/openbsd/raw.rs b/src/libstd/os/openbsd/raw.rs index 0e9a2128bc2..6142f036218 100644 --- a/src/libstd/os/openbsd/raw.rs +++ b/src/libstd/os/openbsd/raw.rs @@ -30,7 +30,8 @@ use os::raw::c_long; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] diff --git a/src/libstd/os/solaris/raw.rs b/src/libstd/os/solaris/raw.rs index 6a75b36bd6b..b84fdba9ca2 100644 --- a/src/libstd/os/solaris/raw.rs +++ b/src/libstd/os/solaris/raw.rs @@ -31,7 +31,8 @@ use os::unix::raw::{uid_t, gid_t}; #[stable(feature = "raw_ext", since = "1.1.0")] pub type off_t = u64; #[stable(feature = "raw_ext", since = "1.1.0")] pub type time_t = i64; -#[unstable(feature = "pthread_t", issue = "29791")] pub type pthread_t = usize; +#[stable(feature = "pthread_t", since = "1.8.0")] +pub type pthread_t = usize; #[repr(C)] #[derive(Clone)] |
