diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-27 18:59:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 18:59:28 +0200 |
| commit | 3299e30abc6b7d8c9e43131c1ccef5b6650d7a04 (patch) | |
| tree | 4afb1cd30fd189060ea4a11693164dc23c5a9941 /compiler/rustc_driver_impl/src/lib.rs | |
| parent | df9c87cc2ae099f7f6f8853bf0673ec851ec1e52 (diff) | |
| parent | 38e62b98418c22d3a00f5af689ae538e4216fb5f (diff) | |
| download | rust-3299e30abc6b7d8c9e43131c1ccef5b6650d7a04.tar.gz rust-3299e30abc6b7d8c9e43131c1ccef5b6650d7a04.zip | |
Rollup merge of #129635 - compiler-errors:unsafe-blocks, r=spastorino
Use unsafe extern blocks throughout the compiler Making this change in preparation for edition 2024. r? spastorino
Diffstat (limited to 'compiler/rustc_driver_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 2b7dc040f64..ed072cd10b7 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -7,6 +7,7 @@ // tidy-alphabetical-start #![allow(internal_features)] #![allow(rustc::untranslatable_diagnostic)] // FIXME: make this translatable +#![cfg_attr(bootstrap, feature(unsafe_extern_blocks))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(decl_macro)] |
