Support cross-compiling to Windows using MinGW
This commit is contained in:
parent
c825bc8e61
commit
1122f42e28
7 changed files with 82 additions and 22 deletions
|
|
@ -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!");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue