Skip to main content

nostd_panic_handler

Macro nostd_panic_handler 

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

Default no_std panic handler that aborts immediately.

Uses the SVM abort syscall, without experimental inline assembly or a compute-consuming spin loop. The runtime rolls back the failed instruction.