about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAfonso Bordado <afonsobordado@az8.co>2022-08-01 09:49:54 +0100
committerAfonso Bordado <afonsobordado@az8.co>2022-08-01 09:49:54 +0100
commit46fa744e6914bb4f09bc250f059e1879b65a7160 (patch)
tree6711396c33724e05e4e073e67a44a443e81202ed
parent231f7c6a21525dd125f96188a35b5d90ab8de29b (diff)
downloadrust-46fa744e6914bb4f09bc250f059e1879b65a7160.tar.gz
rust-46fa744e6914bb4f09bc250f059e1879b65a7160.zip
Disable JIT on windows
-rw-r--r--build_system/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_system/tests.rs b/build_system/tests.rs
index 3f225b4efa2..dc83b10958e 100644
--- a/build_system/tests.rs
+++ b/build_system/tests.rs
@@ -465,7 +465,7 @@ impl TestRunner {
         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();