From 7e7ccb25b48dac9c341c972fc8dfce3cb300989f Mon Sep 17 00:00:00 2001 From: Christopher Durham Date: Sat, 14 Sep 2024 01:41:00 -0400 Subject: [PATCH] add std::panic::abort_unwind --- library/std/src/panic.rs | 3 +++ 1 file changed, 3 insertions(+) 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 @@ where { } +#[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