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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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];