diff options
| author | Christopher Durham <cad97@cad97.com> | 2024-09-14 01:41:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-14 01:41:00 -0400 |
| commit | 7e7ccb25b48dac9c341c972fc8dfce3cb300989f (patch) | |
| tree | ddbf498a1215ab6481c4623b9c7cc00ae53346ff | |
| parent | de66d3aa2b4506795e9dec9503168e4d13c4f7b3 (diff) | |
| download | rust-7e7ccb25b48dac9c341c972fc8dfce3cb300989f.tar.gz rust-7e7ccb25b48dac9c341c972fc8dfce3cb300989f.zip | |
add std::panic::abort_unwind
| -rw-r--r-- | library/std/src/panic.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
