forked from AbleOS/ableos
12 lines
168 B
Rust
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 {}
|
|
}
|