Skip to content

Tracking Issue for PanicInfo::can_unwind #92988

Open
@Amanieu

Description

@Amanieu

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

  • None yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions