diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-05-25 21:43:22 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-03-05 21:32:49 +0100 |
| commit | 1122f42e2872a4bb65adeb990fb73cc555f5c3cf (patch) | |
| tree | d3bdf04621c949445f036c2f3e35aa2205675c99 /example/std_example.rs | |
| parent | c825bc8e61c9a30adebacbe87d048324a5e1063a (diff) | |
| download | rust-1122f42e2872a4bb65adeb990fb73cc555f5c3cf.tar.gz rust-1122f42e2872a4bb65adeb990fb73cc555f5c3cf.zip | |
Support cross-compiling to Windows using MinGW
Diffstat (limited to 'example/std_example.rs')
| -rw-r--r-- | example/std_example.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/std_example.rs b/example/std_example.rs index 015bbdfed46..221b512e3bd 100644 --- a/example/std_example.rs +++ b/example/std_example.rs @@ -16,7 +16,8 @@ fn main() { let mut stderr = stderr.lock(); // FIXME support lazy jit when multi threading - #[cfg(not(lazy_jit))] + // FIXME support TLS on windows + #[cfg(not(any(lazy_jit, windows)))] std::thread::spawn(move || { println!("Hello from another thread!"); }); |
