Skip to main content

set_thread_panic_hook

Function set_thread_panic_hook 

Source
pub fn set_thread_panic_hook()
Expand description

Install a thread panic hook that prints a custom backtrace and exits with a non-zero status. Lets failing tests and CLI runs surface a useful trace without relying on RUST_BACKTRACE.