Skip to content

Commit d2d0ac2

Browse files
alexcrichtonischeinkman
authored andcommitted
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.
1 parent 27bbde5 commit d2d0ac2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/libstd/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
#![feature(rustc_attrs)]
289289
#![feature(rustc_const_unstable)]
290290
#![feature(std_internals)]
291-
#![cfg_attr(not(stage0), feature(stdsimd))]
291+
#![feature(stdsimd)]
292292
#![feature(shrink_to)]
293293
#![feature(slice_concat_ext)]
294294
#![feature(slice_internals)]
@@ -533,20 +533,19 @@ pub mod rt;
533533
#[path = "../stdsimd/stdsimd/mod.rs"]
534534
#[allow(missing_debug_implementations, missing_docs, dead_code)]
535535
#[unstable(feature = "stdsimd", issue = "48556")]
536-
#[cfg(all(not(stage0), not(test)))]
537536
#[cfg(not(target_os = "horizon"))] //TODO: not need to disable stdsimd for horizon
537+
#[cfg(not(test))]
538538
mod stdsimd;
539539

540540
// A "fake" module needed by the `stdsimd` module to compile, not actually
541541
// exported though.
542-
#[cfg(not(stage0))]
543542
mod coresimd {
544543
pub use core::arch;
545544
}
546545

547546
#[stable(feature = "simd_arch", since = "1.27.0")]
548-
#[cfg(all(not(stage0), not(test)))]
549547
#[cfg(not(target_os = "horizon"))] //TODO: not need to disable stdsimd for horizon
548+
#[cfg(not(test))]
550549
pub use stdsimd::arch;
551550

552551
// Include a number of private modules that exist solely to provide

0 commit comments

Comments
 (0)