Open
Description
Feature gate: #![feature(panic_can_unwind)]
This is a tracking issue for PanicInfo::can_unwind
.
This function returns whether the panic handler is allowed to unwind the stack from the point where the panic occurred.
This is true for most kinds of panics with the exception of panics caused by trying to unwind out of a Drop
implementation or a function whose ABI does not support unwinding.
Public API
// core::panic
impl PanicInfo {
pub fn can_unwind(&self) -> bool;
}
Steps / History
- Implementation: Print a helpful message if unwinding aborts when it reaches a nounwind function #92828
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.