Hacker News new | ask | show | jobs
by poizan42 3346 days ago
I have absolutely no experience with Rust, but I know it normally depends on libunwind, isn't that for unwinding the stack?
1 comments

Perhaps to implement https://doc.rust-lang.org/std/panic/fn.catch_unwind.html

But also just to display traces on asserts/panics, even if not "unwound" per se.

By default, rust's panics _do_ unwind the stack. However, you can also set a flag to compile them as an abort instead. Stack traces are still useful in that case.