//@ compile-flags:-C panic=abort #![no_std] #![no_main] #[panic_handler] //~ ERROR `panic_impl` lang item must be applied to a function #[no_mangle] static X: u32 = 42;