forked from AbleOS/ableos
11 lines
167 B
Rust
11 lines
167 B
Rust
//! Panic-related stuff
|
|
|
|
use core::panic::PanicInfo;
|
|
use log::error;
|
|
|
|
#[panic_handler]
|
|
fn panic_handler(info: &PanicInfo) -> ! {
|
|
error!("{}", info);
|
|
loop {}
|
|
}
|