File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ fn rust_oom(layout: Layout) -> ! {
398
398
fn panic_impl ( pi : & core:: panic:: PanicInfo < ' _ > ) -> !;
399
399
400
400
// 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.
402
402
static __rust_alloc_error_handler_should_panic: u8 ;
403
403
}
404
404
@@ -458,7 +458,7 @@ pub mod __alloc_error_handler {
458
458
pub unsafe fn __rdl_oom ( size : usize , _align : usize ) -> ! {
459
459
extern "Rust" {
460
460
// 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.
462
462
static __rust_alloc_error_handler_should_panic: u8 ;
463
463
}
464
464
You can’t perform that action at this time.
0 commit comments