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