akern-gkgoat-fork/kernel/src/panic.rs

13 lines
164 B
Rust
Raw Normal View History

//!
use core::panic::PanicInfo;
// #[macro_use]
2022-04-11 13:53:33 -05:00
use log::error;
#[panic_handler]
2022-04-11 13:53:33 -05:00
fn panic_handler(info: &PanicInfo) -> ! {
error!("{}", info);
loop {}
}