mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
9 lines
175 B
Rust
9 lines
175 B
Rust
//@ compile-flags:-C panic=abort
|
|
|
|
#![no_std]
|
|
#![no_main]
|
|
|
|
#[panic_handler] //~ ERROR `panic_impl` language item must be applied to a function
|
|
#[no_mangle]
|
|
static X: u32 = 42;
|