panic_handler

Function panic_handler 

Source
pub fn panic_handler(info: &PanicInfo<'_>)
Expand description

Prints the panic info to the host’s debug log, and then aborts.

When targeting WASM, this will be the global panic handler.