Skip to content

Commit 419f2ac

Browse files
committed
skip Miri tests if the setup fails
1 parent 7e79b0c commit 419f2ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/miri.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set -ex
55
export CARGO_NET_RETRY=5
66
export CARGO_NET_TIMEOUT=10
77

8-
if rustup component add miri ; then
9-
cargo miri setup
8+
if rustup component add miri && cargo miri setup ; then
109
cargo miri test -- -- -Zunstable-options --exclude-should-panic
1110
fi

0 commit comments

Comments
 (0)