2021-12-24 07:03:15 -06:00
|
|
|
use {
|
|
|
|
crate::{arch::sloop, println},
|
|
|
|
core::panic::PanicInfo,
|
|
|
|
};
|
2021-11-16 00:09:27 -06:00
|
|
|
|
|
|
|
#[panic_handler]
|
|
|
|
fn panic(info: &PanicInfo) -> ! {
|
2021-12-24 07:03:15 -06:00
|
|
|
println!("{}", info);
|
|
|
|
error!("{}", info);
|
|
|
|
sloop()
|
2021-11-16 00:09:27 -06:00
|
|
|
}
|