1
Fork 0

Rename -Zoom=panic to -Zoom=unwind

This commit is contained in:
Amanieu d'Antras 2023-03-23 23:39:41 +00:00
parent abc0660118
commit 4b981c2648
5 changed files with 8 additions and 8 deletions

View file

@ -398,7 +398,7 @@ fn rust_oom(layout: Layout) -> ! {
fn panic_impl(pi: &core::panic::PanicInfo<'_>) -> !;
// This symbol is emitted by rustc .
// Its value depends on the -Zoom={panic,abort} compiler option.
// Its value depends on the -Zoom={unwind,abort} compiler option.
static __rust_alloc_error_handler_should_panic: u8;
}
@ -458,7 +458,7 @@ pub mod __alloc_error_handler {
pub unsafe fn __rdl_oom(size: usize, _align: usize) -> ! {
extern "Rust" {
// This symbol is emitted by rustc next to __rust_alloc_error_handler.
// Its value depends on the -Zoom={panic,abort} compiler option.
// Its value depends on the -Zoom={unwind,abort} compiler option.
static __rust_alloc_error_handler_should_panic: u8;
}