Rename -Zoom=panic to -Zoom=unwind
This commit is contained in:
parent
abc0660118
commit
4b981c2648
5 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue