Skip to main content

panic_hook

Function panic_hook 

Source
pub fn panic_hook()
Expand description

(feature std) std’s panics end as rt’s panic handler ends them without std: one line on stderr, the crash hook, exit code 3. plat’s start of a std program installs it; replacing it with std::panic::set_hook gives up JFLib’s crash report for panics.