Hello!
I've been checking my crate (more convenient panic catcher) against some edge cases, no-unwind ones in particular. What I've discovered though is that you always get at least two panics in no-unwind case. The first one is the normal panic provoked by panic!()
macro or similar ones, the second one is the actual no-unwind panic from one of internal landing pads, like panic_in_unwind
for panic during unwinding or panic_cannot_unwind
when panic tries to cross FFI boundary.
So my question is, is there a way to provoke clean no-unwind panic on stable? I'm aware about panic_nounwind
unstable functions family.
Thanks