1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/kernel/src/panic.rs

11 lines
167 B
Rust
Raw Normal View History

2022-04-11 17:23:11 -05:00
//! Panic-related stuff
2022-04-11 17:23:11 -05:00
use core::panic::PanicInfo;
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 {}
}