update cfgs

This commit is contained in:
Boxy
2025-04-02 21:28:54 +01:00
parent 609eacbb22
commit c93005ee65
24 changed files with 29 additions and 140 deletions

View File

@@ -348,7 +348,7 @@ fn default_alloc_error_hook(layout: Layout) {
unsafe extern "Rust" {
// This symbol is emitted by rustc next to __rust_alloc_error_handler.
// Its value depends on the -Zoom={panic,abort} compiler option.
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
#[rustc_std_internal_symbol]
static __rust_alloc_error_handler_should_panic: u8;
}