Enable thread test in std_example
Turns out libstd doesn't use #[thread_local] on Windows at all
This commit is contained in:
parent
a47896d6e4
commit
53235d2abb
@ -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!");
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user