From b4110900bd82f03b1a5a8d777fa514e78adfadef Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 8 Dec 2018 03:06:54 -0800 Subject: Update Cargo submodule and its dependencies Hopefully just another routine update! So far this starts to enable the `std::arch` in stage0 builds of rustc. This means that we may need stage0/not(stage0) in stdsimd itself, but more and more code is starting to use `std::arch` so I think it's time to start shifting the balance of work here. --- src/libstd/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/libstd/lib.rs') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 66771b3c4a2..90c8eaf0f7c 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -287,7 +287,7 @@ #![feature(rustc_attrs)] #![feature(rustc_const_unstable)] #![feature(std_internals)] -#![cfg_attr(not(stage0), feature(stdsimd))] +#![feature(stdsimd)] #![feature(shrink_to)] #![feature(slice_concat_ext)] #![feature(slice_internals)] @@ -514,18 +514,17 @@ 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)))] +#[cfg(not(test))] mod stdsimd; // A "fake" module needed by the `stdsimd` module to compile, not actually // exported though. -#[cfg(not(stage0))] mod coresimd { pub use core::arch; } #[stable(feature = "simd_arch", since = "1.27.0")] -#[cfg(all(not(stage0), not(test)))] +#[cfg(not(test))] pub use stdsimd::arch; // Include a number of private modules that exist solely to provide -- cgit 1.4.1-3-g733a5