rust/tests/run-make/wasm-custom-section/foo.rs

9 lines
157 B
Rust
Raw Normal View History

#![crate_type = "rlib"]
#![deny(warnings)]
#[link_section = "foo"]
pub static A: [u8; 2] = [1, 2];
#[link_section = "bar"]
pub static B: [u8; 2] = [3, 4];