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