Skip to content

Commit 533f9d8

Browse files
authored
Merge pull request #1227 from Kmeakin/master
Only enable JIT tests on x86_64
2 parents 25f7711 + e5f011a commit 533f9d8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scripts/tests.sh

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ export HOST_TRIPLE=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ")
99
export TARGET_TRIPLE=${TARGET_TRIPLE:-$HOST_TRIPLE}
1010

1111
export RUN_WRAPPER=''
12-
export JIT_SUPPORTED=1
12+
13+
case "$TARGET_TRIPLE" in
14+
x86_64*)
15+
export JIT_SUPPORTED=1
16+
;;
17+
*)
18+
export JIT_SUPPORTED=0
19+
;;
20+
esac
21+
1322
if [[ "$HOST_TRIPLE" != "$TARGET_TRIPLE" ]]; then
1423
export JIT_SUPPORTED=0
1524
if [[ "$TARGET_TRIPLE" == "aarch64-unknown-linux-gnu" ]]; then

0 commit comments

Comments
 (0)