Enable thread test in std_example

Turns out libstd doesn't use #[thread_local] on Windows at all
This commit is contained in:
bjorn3 2021-03-15 18:01:48 +01:00
parent a47896d6e4
commit 53235d2abb

View File

@ -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!");
});