We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 291bf94 commit b1b8810Copy full SHA for b1b8810
library/alloc/src/alloc.rs
@@ -348,7 +348,6 @@ extern "Rust" {
348
// This is the magic symbol to call the global alloc error handler. rustc generates
349
// it to call `__rg_oom` if there is a `#[alloc_error_handler]`, or to call the
350
// default implementations below (`__rdl_oom`) otherwise.
351
- #[rustc_allocator_nounwind]
352
fn __rust_alloc_error_handler(size: usize, align: usize) -> !;
353
}
354
@@ -367,7 +366,6 @@ extern "Rust" {
367
366
#[stable(feature = "global_alloc", since = "1.28.0")]
368
#[rustc_const_unstable(feature = "const_alloc_error", issue = "92523")]
369
#[cfg(all(not(no_global_oom_handling), not(test)))]
370
-#[rustc_allocator_nounwind]
371
#[cold]
372
pub const fn handle_alloc_error(layout: Layout) -> ! {
373
const fn ct_error(_: Layout) -> ! {
0 commit comments