2022-04-11 17:23:11 -05:00
|
|
|
//! Panic-related stuff
|
2022-02-28 08:54:41 -06:00
|
|
|
|
2022-04-11 17:23:11 -05:00
|
|
|
use core::panic::PanicInfo;
|
2022-04-11 13:53:33 -05:00
|
|
|
use log::error;
|
2022-03-11 13:51:47 -06:00
|
|
|
|
2022-02-28 08:54:41 -06:00
|
|
|
#[panic_handler]
|
2022-04-11 13:53:33 -05:00
|
|
|
fn panic_handler(info: &PanicInfo) -> ! {
|
|
|
|
error!("{}", info);
|
2022-02-28 08:54:41 -06:00
|
|
|
loop {}
|
|
|
|
}
|