1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#![no_std] #![no_main] use core::panic::PanicInfo; #[allow(unused_imports)] use rust_fsm; /// This function is called on panic. #[panic_handler] fn panic(_info: &PanicInfo) -> ! { loop {} } #[no_mangle] pub extern "C" fn _start() -> ! { loop {} }