MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / panic

Function panic

euralios_std/src/lib.rs:34–37  ·  view source on GitHub ↗
(info: &PanicInfo)

Source from the content-addressed store, hash-verified

32use core::panic::PanicInfo;
33#[panic_handler]
34pub fn panic(info: &PanicInfo) -> ! {
35 debug_println!("User panic: {}", info);
36 syscalls::thread_exit();
37}
38
39// User program entry point
40#[cfg(not(test))]

Callers

nothing calls this directly

Calls 1

thread_exitFunction · 0.85

Tested by

no test coverage detected