Skip to content

Commit

Permalink
add std::panic::abort_unwind
Browse files Browse the repository at this point in the history
  • Loading branch information
CAD97 authored Sep 14, 2024
1 parent de66d3a commit 7e7ccb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/std/src/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e7ccb2

Please sign in to comment.