Skip to content

Commit 21bfd9a

Browse files
committed
Auto merge of #314 - RalfJung:miri, r=Amanieu
update Miri CI config We don't need `curl` and https://rust-lang.github.io/rustup-components-history/ any more now that `rustup` can install "latest toolchain with certain tools".
2 parents 8ac6721 + 5c9d4f2 commit 21bfd9a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ci/miri.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ set -ex
55
export CARGO_NET_RETRY=5
66
export CARGO_NET_TIMEOUT=10
77

8-
MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
9-
echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
10-
rustup default "$MIRI_NIGHTLY"
11-
12-
rustup component add miri
8+
rustup toolchain install nightly --component miri
9+
rustup override set nightly
1310
cargo miri setup
1411

1512
cargo miri test

0 commit comments

Comments
 (0)