-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
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.
joseluis
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.