diff options
| author | bors <bors@rust-lang.org> | 2014-03-20 11:06:42 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-03-20 11:06:42 -0700 |
| commit | 7334c11b4b196e39da2418a239e2ff916896fa19 (patch) | |
| tree | 40a52d76075a591565c7a81aa300e7e16eefac62 /src/libstd/rt/thread.rs | |
| parent | b568efc0cf173ac7b2d37284beda5fdf8a7686ab (diff) | |
| parent | 11ac4df4d2402188f96fa75b3c9b7962e9bac805 (diff) | |
| download | rust-7334c11b4b196e39da2418a239e2ff916896fa19.tar.gz rust-7334c11b4b196e39da2418a239e2ff916896fa19.zip | |
auto merge of #13026 : alexcrichton/rust/snapshots, r=huonw
Diffstat (limited to 'src/libstd/rt/thread.rs')
| -rw-r--r-- | src/libstd/rt/thread.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs index e27698d7dd0..0cbd67557de 100644 --- a/src/libstd/rt/thread.rs +++ b/src/libstd/rt/thread.rs @@ -271,7 +271,7 @@ mod imp { // Assumes that we've been dynamically linked to libpthread but that is // currently always the case. Note that you need to check that the symbol // is non-null before calling it! - #[cfg(target_os = "linux", not(stage0))] + #[cfg(target_os = "linux")] fn min_stack_size(attr: *libc::pthread_attr_t) -> libc::size_t { use ptr::RawPtr; type F = extern "C" unsafe fn(*libc::pthread_attr_t) -> libc::size_t; @@ -289,7 +289,6 @@ mod imp { // __pthread_get_minstack() is marked as weak but extern_weak linkage is // not supported on OS X, hence this kludge... #[cfg(not(target_os = "linux"))] - #[cfg(stage0)] fn min_stack_size(_: *libc::pthread_attr_t) -> libc::size_t { PTHREAD_STACK_MIN } |
