mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
8 lines
172 B
Rust
8 lines
172 B
Rust
#![feature(thread_local)]
|
|
#![feature(cfg_target_thread_local)]
|
|
#![crate_type = "lib"]
|
|
|
|
#[no_mangle]
|
|
#[cfg_attr(target_thread_local, thread_local)]
|
|
pub static FOO: u32 = 3;
|