From 1122f42e2872a4bb65adeb990fb73cc555f5c3cf Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 25 May 2020 21:43:22 +0200 Subject: Support cross-compiling to Windows using MinGW --- example/std_example.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example/std_example.rs') 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!"); }); -- cgit 1.4.1-3-g733a5