]> git.lizzy.rs Git - rust.git/commitdiff
run_tests_minimal: actually run the smoke test on the desired target
authorRalf Jung <post@ralfj.de>
Sun, 27 Nov 2022 12:26:31 +0000 (13:26 +0100)
committerRalf Jung <post@ralfj.de>
Sun, 27 Nov 2022 12:26:31 +0000 (13:26 +0100)
src/tools/miri/ci.sh

index e528be8b037af5b59decd8afdf528d44e2b4b020..8600091ece8073eaf471a513c5943df703343459 100755 (executable)
@@ -88,7 +88,7 @@ function run_tests_minimal {
   ./miri test -- "$@"
 
   # Ensure that a small smoke test of cargo-miri works.
-  cargo miri run --manifest-path test-cargo-miri/no-std-smoke/Cargo.toml
+  cargo miri run --manifest-path test-cargo-miri/no-std-smoke/Cargo.toml --target ${MIRI_TEST_TARGET-$HOST_TARGET}
 
   endgroup
 }