(info: &PanicInfo)
| 94 | #[cfg(not(test))] // If not in QEMU test mode |
| 95 | #[panic_handler] |
| 96 | fn panic(info: &PanicInfo) -> ! { |
| 97 | println!("Kernel panic: {}", info); |
| 98 | kernel::hlt_loop(); |
| 99 | } |
| 100 | |
| 101 | #[cfg(test)] |
| 102 | #[panic_handler] |
nothing calls this directly
no test coverage detected