News for hackers. Stuff that matters.
Re:Making Rust binaries smaller by default by lifthrasiir on Wednesday January 24, 2024 @06:23AM (#39116038)
> `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.

Re:Making Rust binaries smaller by default by vacuity on Wednesday January 24, 2024 @01:20PM (#39120746)
Is 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?