This allows us to do a native build of libcommon which is useful for
unit testing.
}
}
+#[inline(never)]
+#[panic_handler]
+fn panic(_info: &core::panic::PanicInfo) -> ! {
+ loop {
+ }
+}
+
#[no_mangle]
pub unsafe extern "C" fn _start() -> ! {
clock::configure();
false
}
+#[inline(never)]
+#[panic_handler]
+fn panic(_info: &core::panic::PanicInfo) -> ! {
+ loop {
+ }
+}
+
#[no_mangle]
pub unsafe extern "C" fn _start() -> ! {
watchdog::disable();
pub mod gps;
pub mod fmt;
pub mod time;
-
-use core::panic::PanicInfo;
-
-#[inline(never)]
-#[panic_handler]
-fn panic(_info: &PanicInfo) -> ! {
- loop {
- }
-}