Hacker News new | ask | show | jobs
by forrestthewoods 665 days ago
I don’t think that’s correct. Panics can be configured to abort instead of unwind. But if panic != abort then catching should be reliable.

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