panic in loader should call die instead of just looping

This commit is contained in:
bunnie 2026-02-15 03:19:32 +08:00
parent 414cff252f
commit 000c4effab
No known key found for this signature in database

View file

@ -982,6 +982,8 @@ mod panic_handler {
#[panic_handler]
fn handle_panic(_arg: &PanicInfo) -> ! {
crate::println!("{}", _arg);
loop {}
loop {
bao1x_hal::sigcheck::die_no_std();
}
}
}