common: Move panic handler out of libcommon.
[gps-watch.git] / src / application / main.rs
index b11950366e6bbd826081c548b3d25b6ff0fc4547..4cad3e326ee1720361a991c263b6e7ec3db33d16 100644 (file)
@@ -75,6 +75,13 @@ impl Timer {
     }
 }
 
+#[inline(never)]
+#[panic_handler]
+fn panic(_info: &core::panic::PanicInfo) -> ! {
+    loop {
+    }
+}
+
 #[no_mangle]
 pub unsafe extern "C" fn _start() -> ! {
     clock::configure();