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