akern-gkgoat-fork/kernel/src/panic.rs
2022-04-12 00:23:11 +02:00

11 lines
167 B
Rust

//! Panic-related stuff
use core::panic::PanicInfo;
use log::error;
#[panic_handler]
fn panic_handler(info: &PanicInfo) -> ! {
error!("{}", info);
loop {}
}