Function simics::panic_handler
source · pub fn panic_handler(info: &PanicHookInfo<'_>) -> !
Expand description
Panic handler for Simics modules.
This will log the panic message and then call SIM_quit
to exit the simulator
(backtraces are not available in the simulator, so we don’t bother trying to print
one). It is usually automatically installed by any #simics_init attribute macro,
but can be manually installed using std::panic::set_hook
.