Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions allocator/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ use alloc::alloc::__alloc_error_handler;

#[rustc_std_internal_symbol]
#[linkage = "weak"]
#[allow(non_upper_case_globals)]
pub static __rust_alloc_error_handler_should_panic: u8 = 1;
pub unsafe fn __rust_alloc_error_handler_should_panic_v2() -> u8 {
1
}

#[rustc_std_internal_symbol]
#[linkage = "weak"]
Expand Down