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 ff155a2 + b39083a commit 1a0c9efCopy full SHA for 1a0c9ef
ci/miri.sh
@@ -5,6 +5,11 @@ set -ex
5
export CARGO_NET_RETRY=5
6
export CARGO_NET_TIMEOUT=10
7
8
-if rustup component add miri && cargo miri setup ; then
9
- cargo miri test -- -- -Zunstable-options --exclude-should-panic
10
-fi
+MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
+echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
+rustup default "$MIRI_NIGHTLY"
11
+
12
+rustup component add miri
13
+cargo miri setup
14
15
+cargo miri test -- -- -Zunstable-options --exclude-should-panic
0 commit comments