about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-09-23 18:34:54 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-09-23 18:34:54 +0200
commitd68b50efb306f102bb06f15c044facc3c287cd6c (patch)
tree9b24cd269230c186abcfd275fe4ecf6edd60885e /scripts
parent8a59808b24a728a7034bd697206c4921211569ba (diff)
downloadrust-d68b50efb306f102bb06f15c044facc3c287cd6c.tar.gz
rust-d68b50efb306f102bb06f15c044facc3c287cd6c.zip
Small change to test script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/config.sh b/scripts/config.sh
index 93db4a54a56..b6479e4f696 100644
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -17,7 +17,9 @@ TARGET_TRIPLE=$HOST_TRIPLE
 
 linker=''
 RUN_WRAPPER=''
+export JIT_SUPPORTED=1
 if [[ "$HOST_TRIPLE" != "$TARGET_TRIPLE" ]]; then
+   export JIT_SUPPORTED=0
    if [[ "$TARGET_TRIPLE" == "aarch64-unknown-linux-gnu" ]]; then
       # We are cross-compiling for aarch64. Use the correct linker and run tests in qemu.
       linker='-Clinker=aarch64-linux-gnu-gcc'