We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e44aa0 + 6a61470 commit 71a7b9bCopy full SHA for 71a7b9b
travis.sh
@@ -2,9 +2,7 @@
2
set -euo pipefail
3
4
# Determine configuration
5
-if [ "$TRAVIS_OS_NAME" == osx ]; then
6
- FOREIGN_TARGET=i686-apple-darwin
7
-else
+if [ "$TRAVIS_OS_NAME" == linux ]; then
8
FOREIGN_TARGET=i686-unknown-linux-gnu
9
fi
10
export CARGO_EXTRA_FLAGS="--all-features"
@@ -28,6 +26,8 @@ echo "Test host architecture"
28
26
run_tests
29
27
echo
30
31
-echo "Test foreign architecture ($FOREIGN_TARGET)"
32
-MIRI_TEST_TARGET="$FOREIGN_TARGET" run_tests
33
-echo
+if [ -n "${FOREIGN_TARGET+exists}" ]; then
+ echo "Test foreign architecture ($FOREIGN_TARGET)"
+ MIRI_TEST_TARGET="$FOREIGN_TARGET" run_tests
+ echo
+fi
0 commit comments