1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/ableos/src/panic.rs
2021-12-24 07:03:15 -06:00

12 lines
188 B
Rust

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