Skip to main content

default_panic_handler

Macro default_panic_handler 

Source
macro_rules! default_panic_handler {
    () => { ... };
}
Expand description

Default panic hook.

This macro sets up a default panic hook that logs the file where the panic occurred. It acts as a hook after Rust runtime panics; syscall abort() will be called after it returns.