forked from AbleOS/ableos
12 lines
191 B
Rust
12 lines
191 B
Rust
use {
|
|
crate::{arch::sloop, println},
|
|
core::panic::PanicInfo,
|
|
};
|
|
|
|
#[panic_handler]
|
|
fn panic(info: &PanicInfo) -> ! {
|
|
// println!("{}", info);
|
|
error!("{}", info);
|
|
sloop()
|
|
}
|