macro_rules! nostd_panic_handler {
() => { ... };
}Expand description
Default no_std panic handler that aborts immediately.
On BPF, uses inline assembly to return error code 1 (aborts the
program). This is cheaper than spin_loop() which would burn CU
until the runtime kills the program.