rust/compiler
Alex Crichton a0c959750a 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
2021-11-29 07:23:46 -08:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Account for incorrect impl Foo<const N: ty> {} syntax 2021-11-24 20:02:09 +00:00
rustc_ast_lowering Auto merge of #85102 - estebank:point-at-assignment, r=oli-obk 2021-11-26 03:57:55 +00:00
rustc_ast_passes Rollup merge of #91208 - estebank:eq-constraint, r=cjgillot 2021-11-27 11:46:44 +01:00
rustc_ast_pretty
rustc_attr
rustc_borrowck Fix issue 91206 2021-11-25 16:34:30 +00:00
rustc_builtin_macros Rollup merge of #91327 - dtolnay:exact, r=michaelwoerister 2021-11-29 10:41:36 +01:00
rustc_codegen_cranelift
rustc_codegen_gcc Feat: make cg_ssa get_param borrow the builder mutable 2021-11-23 22:30:20 -05:00
rustc_codegen_llvm Rollup merge of #90833 - tmiasko:optimization-remarks, r=nikic 2021-11-28 23:45:17 +01:00
rustc_codegen_ssa Feat: make cg_ssa get_param borrow the builder mutable 2021-11-23 22:30:20 -05:00
rustc_const_eval Rollup merge of #91251 - oli-obk:wf_sync_statics, r=matthewjasper 2021-11-28 17:11:10 +01:00
rustc_data_structures Use intrinsic pointer methods 2021-11-27 16:59:18 +00:00
rustc_driver add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
rustc_error_codes
rustc_errors replace_tabs -> normalize_whitespace 2021-11-23 20:37:21 +00:00
rustc_expand
rustc_feature Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid 2021-11-24 22:56:37 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir Add generator lang-item 2021-11-23 10:34:16 -08:00
rustc_hir_pretty
rustc_incremental
rustc_index Auto merge of #90491 - Mark-Simulacrum:push-pred-faster, r=matthewjasper 2021-11-24 15:51:46 +00:00
rustc_infer Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726 2021-11-28 13:04:27 +00:00
rustc_interface Rollup merge of #91185 - camelid:rm-force-overflow-checks, r=wesleywiser 2021-11-25 15:05:40 +01:00
rustc_lexer udpate comment to be more accurate 2021-11-23 20:37:23 +00:00
rustc_lint
rustc_lint_defs
rustc_llvm Rollup merge of #90833 - tmiasko:optimization-remarks, r=nikic 2021-11-28 23:45:17 +01:00
rustc_macros Make TypeFoldable implementors short-circuit on error 2021-11-26 07:17:59 +00:00
rustc_metadata
rustc_middle std: Stabilize the thread_local_const_init feature 2021-11-29 07:23:46 -08:00
rustc_mir_build Fix stack overflow in usefulness.rs 2021-11-23 23:07:11 +01:00
rustc_mir_dataflow Auto merge of #90788 - ecstatic-morse:issue-90752, r=wesleywiser 2021-11-23 17:44:33 +00:00
rustc_mir_transform
rustc_monomorphize
rustc_parse Auto merge of #88781 - estebank:emoji-idents, r=oli-obk 2021-11-25 08:16:08 +00:00
rustc_parse_format
rustc_passes Remove unused root_parent. 2021-11-28 21:48:28 +01:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system std: Stabilize the thread_local_const_init feature 2021-11-29 07:23:46 -08:00
rustc_resolve Rollup merge of #91111 - cjgillot:hir-no-lower-attrs, r=michaelwoerister 2021-11-25 15:05:38 +01:00
rustc_save_analysis
rustc_serialize Avoid generating empty closures for fieldless enums 2021-11-22 21:22:35 -05:00
rustc_session Accumulate all values of -C remark option 2021-11-29 09:12:01 +01:00
rustc_span std: Stabilize the thread_local_const_init feature 2021-11-29 07:23:46 -08:00
rustc_symbol_mangling
rustc_target Rollup merge of #90499 - rusticstuff:macos-target-fixes, r=petrochenkov 2021-11-25 15:05:36 +01:00
rustc_trait_selection Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726 2021-11-28 13:04:27 +00:00
rustc_traits Unwrap the results of type folders 2021-11-26 07:38:25 +00:00
rustc_ty_utils
rustc_type_ir
rustc_typeck Rollup merge of #91308 - BGR360:issue-88586, r=jackh726 2021-11-28 17:11:11 +01:00