4 ms·
I have absolutely no experience with Rust, but I know it normally depends on libunwind, isn't that for unwinding the stack?
by poizan42 10y ago
I have absolutely no experience with Rust, but I know it normally depends on libunwind, isn't that for unwinding the stack?
- MaulingMonkey 10y agoPerhaps to implement https://doc.rust-lang.org/std/panic/fn.catch_unwind.html 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.
- steveklabnik 10y agoBy 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.