Have panic handler print message

This commit is contained in:
Greg Shuflin 2022-02-19 01:01:32 -08:00
parent 1cfd133cb2
commit 4d7aa79434

View File

@ -8,7 +8,8 @@ mod vga_buffer;
use core::panic::PanicInfo; use core::panic::PanicInfo;
#[panic_handler] #[panic_handler]
fn panic(_info: &PanicInfo) -> ! { fn panic(info: &PanicInfo) -> ! {
println!("{info}");
loop {} loop {}
} }