Skip to content

Document panic-in-panic ("double panic") behavior #1712

Open
@ehuss

Description

@ehuss

I can't find any documentation about double panic behavior (other than https://doc.rust-lang.org/std/ops/trait.Drop.html#panics, which currently just says "will likely abort the program"). There are some subtleties about this, because some handlers will cause a hang (see rust-lang/rust#97146).

I'm not sure exactly where or how to document this. Some thoughts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions