std panicking implementation comments suggest we might make double-panic not abort #98953
Labels
A-technical-debt
Area: Internal cleanup work
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
rust/library/std/src/panicking.rs
Lines 707 to 714 in efb171e
At this point, I think we've effectively guaranteed in practice that a panicking while already unwinding leads to a full-process abort, and changing this to attempt to unwind the inner panic or even just to abort the thread but not the whole process is likely far to breaking. We're even considering making unwinds from drops always abort, though AIUI this cannot replace the panic while unwinding immediate abort check.
Best guess at appropriate labels...
@rustbot modify labels +T-compiler +T-lang +C-cleanup +A-technical-debt
The text was updated successfully, but these errors were encountered: