MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / panic

Function panic

tests/shouldpanic.rs:23–28  ·  view source on GitHub ↗
(_info: &PanicInfo)

Source from the content-addressed store, hash-verified

21
22#[panic_handler]
23fn panic(_info: &PanicInfo) -> !
24{
25 serprintln!("[SUCCESS]");
26 exitqemu(QEMUExitCode::Success);
27 loop {}
28}

Callers

nothing calls this directly

Calls 1

exitqemuFunction · 0.85

Tested by

no test coverage detected