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 @@ -348,7 +348,6 @@ extern "Rust" {
348348 // This is the magic symbol to call the global alloc error handler. rustc generates
349349 // it to call `__rg_oom` if there is a `#[alloc_error_handler]`, or to call the
350350 // default implementations below (`__rdl_oom`) otherwise.
351- #[ rustc_allocator_nounwind]
352351 fn __rust_alloc_error_handler ( size : usize , align : usize ) -> !;
353352}
354353
@@ -367,7 +366,6 @@ extern "Rust" {
367366#[ stable( feature = "global_alloc" , since = "1.28.0" ) ]
368367#[ rustc_const_unstable( feature = "const_alloc_error" , issue = "92523" ) ]
369368#[ cfg( all( not( no_global_oom_handling) , not( test) ) ) ]
370- #[ rustc_allocator_nounwind]
371369#[ cold]
372370pub const fn handle_alloc_error ( layout : Layout ) -> ! {
373371 const fn ct_error ( _: Layout ) -> ! {
You can’t perform that action at this time.
0 commit comments