mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
Support cross-compiling to Windows using MinGW
This commit is contained in:
@@ -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!");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user