1 2 3 4 5 6 7 8 9
#![crate_type = "rlib"] #![no_std] use core::panic::PanicInfo; #[panic_handler] fn panic(info: &PanicInfo) -> ! { loop {} }