Skip to content

Commit 53235d2

Browse files
committed
Enable thread test in std_example
Turns out libstd doesn't use #[thread_local] on Windows at all
1 parent a47896d commit 53235d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

example/std_example.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ fn main() {
1616
let mut stderr = stderr.lock();
1717

1818
// FIXME support lazy jit when multi threading
19-
// FIXME support TLS on windows
20-
#[cfg(not(any(lazy_jit, windows)))]
19+
#[cfg(not(lazy_jit))]
2120
std::thread::spawn(move || {
2221
println!("Hello from another thread!");
2322
});

0 commit comments

Comments
 (0)