From ff12beb8756f028d44f898a91960ed70102a4792 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 30 Jun 2018 10:45:14 +0200 Subject: Revert changes to bootstrap, rustc_driver and fix {core,std}simd --- src/libstd/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index d79f851a3d7..d73cb1f8349 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -523,22 +523,22 @@ pub mod rt; #[path = "../stdsimd/stdsimd/mod.rs"] #[allow(missing_debug_implementations, missing_docs, dead_code)] #[unstable(feature = "stdsimd", issue = "48556")] -#[cfg(all(not(stage0), not(test), codegen_backend="llvm"))] +#[cfg(all(not(stage0), not(test)))] mod stdsimd; // A "fake" module needed by the `stdsimd` module to compile, not actually // exported though. -#[cfg(all(not(stage0), codegen_backend="llvm"))] +#[cfg(not(stage0))] mod coresimd { pub use core::arch; pub use core::simd; } #[unstable(feature = "stdsimd", issue = "48556")] -#[cfg(all(not(stage0), not(test), codegen_backend="llvm"))] +#[cfg(all(not(stage0), not(test)))] pub use stdsimd::simd; #[stable(feature = "simd_arch", since = "1.27.0")] -#[cfg(all(not(stage0), not(test), codegen_backend="llvm"))] +#[cfg(all(not(stage0), not(test)))] pub use stdsimd::arch; // Include a number of private modules that exist solely to provide -- cgit 1.4.1-3-g733a5