Skip to content

Commit 0afd6ec

Browse files
committed
Revert "Rename -Zoom=panic to -Zoom=unwind"
This reverts commit 4b981c26487ebe56de6b3000fcd98713804beefc.
1 parent 9325623 commit 0afd6ec

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={unwind,abort} compiler option.
401+
// Its value depends on the -Zoom={panic,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={unwind,abort} compiler option.
461+
// Its value depends on the -Zoom={panic,abort} compiler option.
462462
static __rust_alloc_error_handler_should_panic: u8;
463463
}
464464

0 commit comments

Comments
 (0)