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