Use unsafe extern blocks throughout the compiler

This commit is contained in:
Michael Goulet
2024-08-26 19:40:43 -04:00
parent 515395af0e
commit 38e62b9841
7 changed files with 29 additions and 26 deletions

View File

@@ -28,7 +28,7 @@
#![allow(rustc::diagnostic_outside_of_impl)]
#![allow(rustc::potential_query_instability)]
#![allow(rustc::untranslatable_diagnostic)]
#![cfg_attr(bootstrap, feature(min_exhaustive_patterns))]
#![cfg_attr(bootstrap, feature(min_exhaustive_patterns, unsafe_extern_blocks))]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
#![doc(rust_logo)]
#![feature(allocator_api)]