diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-04 22:00:28 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-13 11:27:01 +0100 |
| commit | d75c7530f38b56c4d916195570cdcd18c12ce273 (patch) | |
| tree | c085a3224dac72e296fbb4cc72476666ad7ebe65 /src/libcore | |
| parent | 9409c208a9a70eb6194c7502979843f42d6fed1a (diff) | |
| download | rust-d75c7530f38b56c4d916195570cdcd18c12ce273.tar.gz rust-d75c7530f38b56c4d916195570cdcd18c12ce273.zip | |
Reuse the `staged_api` feature for `rustc_const_unstable`
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 8a514f1e78e..146d582eb7a 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -96,7 +96,7 @@ #![feature(prelude_import)] #![feature(repr_simd, platform_intrinsics)] #![feature(rustc_attrs)] -#![feature(rustc_const_unstable)] +#![cfg_attr(bootstrap, feature(rustc_const_unstable))] #![feature(simd_ffi)] #![feature(specialization)] #![feature(staged_api)] |
