1 // compile-flags:-C panic=abort 2 3 #![no_std] 4 #![no_main] 5 6 #[panic_handler] //~ ERROR `panic_impl` language item must be applied to a function 7 #[no_mangle] 8 static X: u32 = 42; 9