mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
std: abort when `resume_unwind` is called inside the panic hook `resume_unwind` neglected to check the result from the `panic_count::increase`. This led to both `resume_unwind` unwinding after a `always_abort` and to an irreversible increase of the panic count if it is called inside a panic hook (since both the original panic and `resume_unwind` increase the panic count, but only one unwind occurs and so `catch_unwind` is only able to undo one of the count increases).