Disable JIT on windows
This commit is contained in:
parent
231f7c6a21
commit
46fa744e69
@ -465,7 +465,7 @@ pub fn new(host_triple: String, target_triple: String) -> Self {
|
||||
out_dir.push("out");
|
||||
|
||||
let is_native = host_triple == target_triple;
|
||||
let jit_supported = target_triple.contains("x86_64") && is_native;
|
||||
let jit_supported = target_triple.contains("x86_64") && is_native && !host_triple.contains("windows");
|
||||
|
||||
let mut rust_flags = env::var("RUSTFLAGS").ok().unwrap_or("".to_string());
|
||||
let mut run_wrapper = Vec::new();
|
||||
|
Loading…
Reference in New Issue
Block a user