Re:“Rust is safe” is not some kind of absolute guarantee of ...
by zozbot234 on Sunday October 02, 2022 @01:12PM
(#33057934)
Panic in Rust need not equate to a literal kernel panic. It can call an oops handler, which might manage to keep the system operational depending on where the failure occurred.
[ Parent
| on HN ]
Re:“Rust is safe” is not some kind of absolute guarantee of ...
by hegelstoleit on Sunday October 02, 2022 @09:32PM
(#33062404)
As far as I'm aware there's no way to reliably catch all panics. catch_unwind does not catch all panics. Handlers don't stop the program from terminating abruptly.