1
0
Fork 0
forked from AbleOS/ableos
ableos_time/kernel/src/panic.rs
2022-04-11 13:53:33 -05:00

13 lines
164 B
Rust

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