We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddabe07 commit 622a394Copy full SHA for 622a394
library/alloc/src/alloc.rs
@@ -344,7 +344,6 @@ extern "Rust" {
344
// This is the magic symbol to call the global alloc error handler. rustc generates
345
// it to call `__rg_oom` if there is a `#[alloc_error_handler]`, or to call the
346
// default implementations below (`__rdl_oom`) otherwise.
347
- #[rustc_allocator_nounwind]
348
fn __rust_alloc_error_handler(size: usize, align: usize) -> !;
349
}
350
@@ -362,7 +361,6 @@ extern "Rust" {
362
361
/// [`take_alloc_error_hook`]: ../../std/alloc/fn.take_alloc_error_hook.html
363
#[stable(feature = "global_alloc", since = "1.28.0")]
364
#[cfg(all(not(no_global_oom_handling), not(test)))]
365
-#[rustc_allocator_nounwind]
366
#[cold]
367
pub fn handle_alloc_error(layout: Layout) -> ! {
368
unsafe {
0 commit comments