4
0
luojia65 4 жил өмнө
parent
commit
92701ce894

+ 2 - 1
platform/k210/src/main.rs

@@ -22,7 +22,8 @@ use riscv::register::{
 static ALLOCATOR: LockedHeap = LockedHeap::empty();
 
 #[panic_handler]
-fn panic(_info: &PanicInfo) -> ! {
+fn panic(info: &PanicInfo) -> ! {
+    println!("{}", info);
     loop {}
 }