Skip to content

Commit b7d285e

Browse files
committed
Rename -Zoom=panic to -Zoom=unwind
1 parent 7844f0e commit b7d285e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alloc/src/alloc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ fn rust_oom(layout: Layout) -> ! {
398398
fn panic_impl(pi: &core::panic::PanicInfo<'_>) -> !;
399399

400400
// This symbol is emitted by rustc .
401-
// Its value depends on the -Zoom={panic,abort} compiler option.
401+
// Its value depends on the -Zoom={unwind,abort} compiler option.
402402
static __rust_alloc_error_handler_should_panic: u8;
403403
}
404404

@@ -458,7 +458,7 @@ pub mod __alloc_error_handler {
458458
pub unsafe fn __rdl_oom(size: usize, _align: usize) -> ! {
459459
extern "Rust" {
460460
// This symbol is emitted by rustc next to __rust_alloc_error_handler.
461-
// Its value depends on the -Zoom={panic,abort} compiler option.
461+
// Its value depends on the -Zoom={unwind,abort} compiler option.
462462
static __rust_alloc_error_handler_should_panic: u8;
463463
}
464464

0 commit comments

Comments
 (0)