Apply cfg-bootstrap switch
This commit is contained in:
@@ -159,14 +159,12 @@
|
||||
#![feature(const_impl_trait)]
|
||||
#![feature(const_mut_refs)]
|
||||
#![feature(const_precise_live_drops)]
|
||||
#![cfg_attr(bootstrap, feature(const_raw_ptr_deref))]
|
||||
#![feature(const_refs_to_cell)]
|
||||
#![feature(decl_macro)]
|
||||
#![feature(derive_default_enum)]
|
||||
#![feature(doc_cfg)]
|
||||
#![feature(doc_notable_trait)]
|
||||
#![cfg_attr(bootstrap, feature(doc_primitive))]
|
||||
#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
|
||||
#![feature(rustdoc_internals)]
|
||||
#![feature(exhaustive_patterns)]
|
||||
#![feature(doc_cfg_hide)]
|
||||
#![feature(extern_types)]
|
||||
@@ -198,7 +196,7 @@
|
||||
#![feature(try_blocks)]
|
||||
#![feature(unboxed_closures)]
|
||||
#![feature(unsized_fn_params)]
|
||||
#![cfg_attr(not(bootstrap), feature(asm_const))]
|
||||
#![feature(asm_const)]
|
||||
//
|
||||
// Target features:
|
||||
#![feature(aarch64_target_feature)]
|
||||
@@ -408,13 +406,11 @@ pub mod arch {
|
||||
#[allow(rustdoc::bare_urls)]
|
||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||
#[cfg(not(all(miri, doctest)))] // Miri does not support all SIMD intrinsics
|
||||
#[cfg(not(bootstrap))]
|
||||
mod core_simd;
|
||||
|
||||
#[doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
|
||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||
#[cfg(not(all(miri, doctest)))] // Miri does not support all SIMD intrinsics
|
||||
#[cfg(not(bootstrap))]
|
||||
pub mod simd {
|
||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||
pub use crate::core_simd::simd::*;
|
||||
|
||||
Reference in New Issue
Block a user