MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / panic_implementation

Function panic_implementation

example/default_rust/src/lib.rs:363–371  ·  view source on GitHub ↗
(info: &core::panic::PanicInfo<'_>)

Source from the content-addressed store, hash-verified

361
362#[panic_handler]
363pub fn panic_implementation(info: &core::panic::PanicInfo<'_>) -> ! {
364 match info.message() {
365 Some(s) => print!("{}", s),
366 None => print!("unknown panic occurred\n"),
367 }
368
369 syscall::bf_control_op_exit();
370 loop {}
371}

Callers

nothing calls this directly

Calls 1

bf_control_op_exitFunction · 0.50

Tested by

no test coverage detected