mirror of
https://gitee.com/openharmony/third_party_rust_hashbrown
synced 2024-11-23 04:49:45 +00:00
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".
This commit is contained in:
commit
21bfd9aff7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user