Allows creating static thread locals on Windows. This requires a nightly compiler
and #![feature(asm)]
.
See the documentation
Example
#![feature(asm)]
wintls::static_thread_local!{
static TEST: u32 = 0;
}
fn main() {
let value = TEST.get();
TEST.set(value + 1);
}