Apply cfg-bootstrap switch
This commit is contained in:
@@ -264,8 +264,7 @@
|
||||
#![feature(const_ipv4)]
|
||||
#![feature(const_ipv6)]
|
||||
#![feature(const_option)]
|
||||
#![cfg_attr(bootstrap, feature(const_raw_ptr_deref))]
|
||||
#![cfg_attr(not(bootstrap), feature(const_mut_refs))]
|
||||
#![feature(const_mut_refs)]
|
||||
#![feature(const_socketaddr)]
|
||||
#![feature(const_trait_impl)]
|
||||
#![feature(container_error_extra)]
|
||||
@@ -275,9 +274,7 @@
|
||||
#![feature(decl_macro)]
|
||||
#![feature(doc_cfg)]
|
||||
#![feature(doc_cfg_hide)]
|
||||
#![cfg_attr(bootstrap, feature(doc_primitive))]
|
||||
#![cfg_attr(bootstrap, feature(doc_keyword))]
|
||||
#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
|
||||
#![feature(rustdoc_internals)]
|
||||
#![feature(doc_masked)]
|
||||
#![feature(doc_notable_trait)]
|
||||
#![feature(dropck_eyepatch)]
|
||||
@@ -323,7 +320,7 @@
|
||||
#![feature(panic_internals)]
|
||||
#![feature(panic_unwind)]
|
||||
#![feature(pin_static_ref)]
|
||||
#![cfg_attr(not(bootstrap), feature(portable_simd))]
|
||||
#![feature(portable_simd)]
|
||||
#![feature(prelude_import)]
|
||||
#![feature(ptr_internals)]
|
||||
#![feature(rustc_attrs)]
|
||||
@@ -476,7 +473,6 @@ pub use core::ptr;
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub use core::result;
|
||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||
#[cfg(not(bootstrap))]
|
||||
pub use core::simd;
|
||||
#[unstable(feature = "async_stream", issue = "79024")]
|
||||
pub use core::stream;
|
||||
|
||||
Reference in New Issue
Block a user