diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2021-11-29 07:21:35 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2021-11-29 07:23:46 -0800 |
| commit | a0c959750abec28bb875be492c5f0532920a8907 (patch) | |
| tree | 96a798597c4ccc2f4c6c05642fb257172f2a9ea4 /compiler/rustc_query_system/src/lib.rs | |
| parent | 8b954910c59a7a362c60959e93110892b6e9a691 (diff) | |
| download | rust-a0c959750abec28bb875be492c5f0532920a8907.tar.gz rust-a0c959750abec28bb875be492c5f0532920a8907.zip | |
std: Stabilize the `thread_local_const_init` feature
This commit is intended to follow the stabilization disposition of the FCP that has now finished in #84223. This stabilizes the ability to flag thread local initializers as `const` expressions which enables the macro to generate more efficient code for accessing it, notably removing runtime checks for initialization. More information can also be found in #84223 as well as the tests where the feature usage was removed in this PR. Closes #84223
Diffstat (limited to 'compiler/rustc_query_system/src/lib.rs')
| -rw-r--r-- | compiler/rustc_query_system/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/lib.rs b/compiler/rustc_query_system/src/lib.rs index b1295ba48cc..0da141f6836 100644 --- a/compiler/rustc_query_system/src/lib.rs +++ b/compiler/rustc_query_system/src/lib.rs @@ -5,7 +5,6 @@ #![feature(iter_zip)] #![feature(let_else)] #![feature(min_specialization)] -#![feature(thread_local_const_init)] #![feature(extern_types)] #[macro_use] |
