about summary refs log tree commit diff
path: root/library/std/src/alloc.rs
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2025-04-02 21:28:54 +0100
committerBoxy <rust@boxyuwu.dev>2025-04-09 12:29:59 +0100
commitc93005ee651422f1920ef2a68e5ab9ff772b4b06 (patch)
treebc8448b8055eecaf533b29a1c7e0f4f74b3aad74 /library/std/src/alloc.rs
parent609eacbb22eb9014fdea1618105a294f0dc8a63e (diff)
downloadrust-c93005ee651422f1920ef2a68e5ab9ff772b4b06.tar.gz
rust-c93005ee651422f1920ef2a68e5ab9ff772b4b06.zip
update cfgs
Diffstat (limited to 'library/std/src/alloc.rs')
-rw-r--r--library/std/src/alloc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/alloc.rs b/library/std/src/alloc.rs
index 5d2a304b41c..75971ac90e7 100644
--- a/library/std/src/alloc.rs
+++ b/library/std/src/alloc.rs
@@ -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;
     }