Rust sometimes emits calls to _Unwind_Resume on opt-level = 0 with panic = abort #53301
Labels
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I don't think this is intentional. I'm working on a no_std project and for the first time tried to compile with the debug profile and there seem to be undefined references to _Unwind_Resume even though panic = "abort" is specified. opt-level = 1 seems to get rid of those calls.
The text was updated successfully, but these errors were encountered: