diff options
| author | bors <bors@rust-lang.org> | 2015-08-12 17:07:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-12 17:07:11 +0000 |
| commit | 8b5948d5bf08f27bf443356549a25b39d40c159d (patch) | |
| tree | f3d54534ff69927186d3b2a6e892544899b77716 /src/libstd/rt | |
| parent | 81c9ff24fe6d53eb51d9427302ec842da49b9edc (diff) | |
| parent | 6b09eb8e17d1952a930e1411da85703c2c534dde (diff) | |
| download | rust-8b5948d5bf08f27bf443356549a25b39d40c159d.tar.gz rust-8b5948d5bf08f27bf443356549a25b39d40c159d.zip | |
Auto merge of #27688 - alexcrichton:rollup, r=alexcrichton
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/args.rs | 4 | ||||
| -rw-r--r-- | src/libstd/rt/backtrace.rs | 3 | ||||
| -rw-r--r-- | src/libstd/rt/unwind/mod.rs | 10 |
3 files changed, 5 insertions, 12 deletions
diff --git a/src/libstd/rt/args.rs b/src/libstd/rt/args.rs index e77a2bbd0b9..cf8bac31057 100644 --- a/src/libstd/rt/args.rs +++ b/src/libstd/rt/args.rs @@ -19,8 +19,6 @@ //! //! FIXME #7756: Would be nice for this to not exist. -#[cfg(stage0)] -use core::prelude::v1::*; use vec::Vec; /// One-time global initialization. @@ -141,8 +139,6 @@ mod imp { target_os = "ios", target_os = "windows"))] mod imp { - #[cfg(stage0)] - use core::prelude::v1::*; use vec::Vec; pub unsafe fn init(_argc: isize, _argv: *const *const u8) { diff --git a/src/libstd/rt/backtrace.rs b/src/libstd/rt/backtrace.rs index 18d93cba8bc..9e7ed89bae1 100644 --- a/src/libstd/rt/backtrace.rs +++ b/src/libstd/rt/backtrace.rs @@ -12,9 +12,6 @@ #![allow(non_camel_case_types)] -#[cfg(stage0)] -use prelude::v1::*; - use env; use sync::atomic::{self, Ordering}; diff --git a/src/libstd/rt/unwind/mod.rs b/src/libstd/rt/unwind/mod.rs index bb43eec8db1..4feb2d49a98 100644 --- a/src/libstd/rt/unwind/mod.rs +++ b/src/libstd/rt/unwind/mod.rs @@ -77,18 +77,18 @@ use sys_common::mutex::Mutex; // implementations. One goes through SEH on Windows and the other goes through // libgcc via the libunwind-like API. -// *-pc-windows-msvc -#[cfg(all(windows, target_env = "msvc"))] +// i686-pc-windows-msvc +#[cfg(all(windows, target_arch = "x86", target_env = "msvc"))] #[path = "seh.rs"] #[doc(hidden)] pub mod imp; -// x86_64-pc-windows-gnu -#[cfg(all(windows, target_arch="x86_64", target_env="gnu"))] +// x86_64-pc-windows-* +#[cfg(all(windows, target_arch = "x86_64"))] #[path = "seh64_gnu.rs"] #[doc(hidden)] pub mod imp; // i686-pc-windows-gnu and all others -#[cfg(any(unix, all(windows, target_arch="x86", target_env="gnu")))] +#[cfg(any(unix, all(windows, target_arch = "x86", target_env = "gnu")))] #[path = "gcc.rs"] #[doc(hidden)] pub mod imp; |
