Tracking Issue for PanicInfo::can_unwind · Issue #92988 · rust-lang/rust (original) (raw)

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

Unresolved Questions