From 53235d2abb881876dd4ec8119c6a31da53d328a4 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 15 Mar 2021 18:01:48 +0100 Subject: Enable thread test in std_example Turns out libstd doesn't use #[thread_local] on Windows at all --- example/std_example.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'example/std_example.rs') diff --git a/example/std_example.rs b/example/std_example.rs index 221b512e3bd..015bbdfed46 100644 --- a/example/std_example.rs +++ b/example/std_example.rs @@ -16,8 +16,7 @@ fn main() { let mut stderr = stderr.lock(); // FIXME support lazy jit when multi threading - // FIXME support TLS on windows - #[cfg(not(any(lazy_jit, windows)))] + #[cfg(not(lazy_jit))] std::thread::spawn(move || { println!("Hello from another thread!"); }); -- cgit 1.4.1-3-g733a5