Support cross-compiling to Windows using MinGW

This commit is contained in:
bjorn3 2020-05-25 21:43:22 +02:00
parent c825bc8e61
commit 1122f42e28
7 changed files with 82 additions and 22 deletions

View file

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