4 ms·
> `panic = "abort"` shakes a lot of code off by making the final executable unable to print a nice stack trace (even without symbols) and instead immediately tr
by lifthrasiir 3y ago
> `panic = "abort"` shakes a lot of code off by making the final executable unable to print a nice stack trace (even without symbols) and instead immediately traps/abort()-s.
I believe it does print backtraces then terminate, since the backtrace is printed via panic hooks, which happen before the actual unwinding.
- vacuity 3y agoIs the backtrace performed by the OS and that's why it still works? And the debug info needs to still be provided, just not an unwinding mechanism?