diff options
| author | Michael Goulet <michael@errs.io> | 2024-08-26 19:40:43 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-26 19:51:05 -0400 |
| commit | 38e62b98418c22d3a00f5af689ae538e4216fb5f (patch) | |
| tree | 5a4847b102fd5334889d9faa4cb464aa4f3681dc /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 515395af0efdbdd657ff08a1f6d28e553856654f (diff) | |
| download | rust-38e62b98418c22d3a00f5af689ae538e4216fb5f.tar.gz rust-38e62b98418c22d3a00f5af689ae538e4216fb5f.zip | |
Use unsafe extern blocks throughout the compiler
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 43164390a1c..f7b0ce25b4a 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -6,6 +6,7 @@ // tidy-alphabetical-start #![allow(internal_features)] +#![cfg_attr(bootstrap, feature(unsafe_extern_blocks))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(assert_matches)] |
