akern-gkgoat-fork/ableos/src/panic.rs

12 lines
191 B
Rust

use {
crate::{arch::sloop, println},
core::panic::PanicInfo,
};
#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
// println!("{}", info);
error!("{}", info);
sloop()
}