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.