]>
git.proxmox.com Git - rustc.git/blob - src/test/run-pass/threads-sendsync/tls-dtors-are-run-in-a-static-binary.rs
3 // ignore-emscripten no threads support
5 static mut HIT
: bool
= false;
11 unsafe { HIT = true; }
15 thread_local
!(static FOO
: Foo
= Foo
);
18 std
::thread
::spawn(|| {
21 assert
!(unsafe { HIT }
);