rust/tests/run-make/used-cdylib-macos/dylib_used.rs

5 lines
78 B
Rust
Raw Normal View History

#![crate_type = "cdylib"]
#[used]
static VERY_IMPORTANT_SYMBOL: u32 = 12345;