Skip to content

Commit

Permalink
Auto merge of #314 - RalfJung:miri, r=Amanieu
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
bors committed Mar 22, 2022
2 parents 8ac6721 + 5c9d4f2 commit 21bfd9a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ci/miri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ set -ex
export CARGO_NET_RETRY=5
export CARGO_NET_TIMEOUT=10

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"

rustup component add miri
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup

cargo miri test

0 comments on commit 21bfd9a

Please sign in to comment.