change #![feature(const_fn)] to specific gates
This commit is contained in:
parent
a12d0d4f66
commit
681e5da61e
49 changed files with 127 additions and 75 deletions
|
@ -292,6 +292,7 @@
|
|||
#![feature(raw)]
|
||||
#![feature(repr_simd)]
|
||||
#![feature(rustc_attrs)]
|
||||
#![cfg_attr(not(stage0), feature(rustc_const_unstable))]
|
||||
#![feature(shared)]
|
||||
#![feature(sip_hash_13)]
|
||||
#![feature(slice_bytes)]
|
||||
|
@ -315,6 +316,17 @@
|
|||
#![feature(doc_cfg)]
|
||||
#![cfg_attr(test, feature(update_panic_count))]
|
||||
|
||||
#![cfg_attr(not(stage0), feature(const_max_value))]
|
||||
#![cfg_attr(not(stage0), feature(const_atomic_bool_new))]
|
||||
#![cfg_attr(not(stage0), feature(const_atomic_isize_new))]
|
||||
#![cfg_attr(not(stage0), feature(const_atomic_usize_new))]
|
||||
#![cfg_attr(all(not(stage0), windows), feature(const_atomic_ptr_new))]
|
||||
#![cfg_attr(not(stage0), feature(const_unsafe_cell_new))]
|
||||
#![cfg_attr(not(stage0), feature(const_cell_new))]
|
||||
#![cfg_attr(not(stage0), feature(const_once_new))]
|
||||
#![cfg_attr(not(stage0), feature(const_ptr_null))]
|
||||
#![cfg_attr(not(stage0), feature(const_ptr_null_mut))]
|
||||
|
||||
#![default_lib_allocator]
|
||||
|
||||
// Always use alloc_system during stage0 since we don't know if the alloc_*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue