1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/kernel/src/panic.rs
2022-07-29 12:48:45 -05:00

12 lines
168 B
Rust

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