diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs index 6f0952c41ed..541cf42ab47 100644 --- a/library/std/src/panic.rs +++ b/library/std/src/panic.rs @@ -283,6 +283,9 @@ impl UnwindSafe for collections::HashMap { } +#[unstable(feature = "abort_unwind", issue = "130338")] +pub use core::panic::abort_unwind; + /// Invokes a closure, capturing the cause of an unwinding panic if one occurs. /// /// This function will return `Ok` with the closure's result if the closure