4 ms·
Unless I'm misunderstanding your comment, you can make panics abort rather than unwind. https://doc.rust-lang.org/edition-guide/rust-2018/error-handling-and-pa
by status_quo69 6y ago
Unless I'm misunderstanding your comment, you can make panics abort rather than unwind.
https://doc.rust-lang.org/edition-guide/rust-2018/error-handling-and-panics/aborting-on-panic.html https://doc.rust-lang.org/edition-guide/rust-2018/error-hand...
- imron 6y agoYou are misunderstanding the comment, because it's specifically talking about the case when panic is set to unwind and there is catch_unwind handler.