panic_handler updated with println! macro

This commit is contained in:
clizia 2025-08-27 01:09:36 +02:00
parent d1f80928bf
commit 745b574bd6

View file

@ -18,6 +18,8 @@ pub extern "C" fn _start() -> ! {
// called on panic
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
fn panic(info: &PanicInfo) -> ! {
println!("{}", info);
loop {}
}