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

12 lines
168 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);
2022-07-29 12:48:45 -05:00
loop {}
}