I can't find any setting that would make panics abort instead of unwinding, which is UB in FFI code; if a stack unwinds into calling C/C++ code, this is UB. As there is at least one panic! and plenty of unwrap()s in the current code (and more panics may be introduced in the future), we should consider switching to safe aborting on panics.
I can't find any setting that would make
panic
s abort instead of unwinding, which is UB in FFI code; if a stack unwinds into calling C/C++ code, this is UB. As there is at least onepanic!
and plenty ofunwrap()
s in the current code (and more panics may be introduced in the future), we should consider switching to safe aborting on panics.