Files
rust/library/std
Jonathan Brouwer 6f9fb4fe62 Rollup merge of #158369 - joboet:resume_unwind_in_hook, r=Amanieu
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).
2026-06-25 21:18:32 +02:00
..
…