File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,6 @@ extern "Rust" {
344
344
// This is the magic symbol to call the global alloc error handler. rustc generates
345
345
// it to call `__rg_oom` if there is a `#[alloc_error_handler]`, or to call the
346
346
// default implementations below (`__rdl_oom`) otherwise.
347
- #[ rustc_allocator_nounwind]
348
347
fn __rust_alloc_error_handler ( size : usize , align : usize ) -> !;
349
348
}
350
349
@@ -362,7 +361,6 @@ extern "Rust" {
362
361
/// [`take_alloc_error_hook`]: ../../std/alloc/fn.take_alloc_error_hook.html
363
362
#[ stable( feature = "global_alloc" , since = "1.28.0" ) ]
364
363
#[ cfg( all( not( no_global_oom_handling) , not( test) ) ) ]
365
- #[ rustc_allocator_nounwind]
366
364
#[ cold]
367
365
pub fn handle_alloc_error ( layout : Layout ) -> ! {
368
366
unsafe {
You can’t perform that action at this time.
0 commit comments