Debian Codegraph @

third_party/rust/typed-arena-nomut/ci/miri.sh

raw
1 set -ex
2
3 MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
4 echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
5 rustup default "$MIRI_NIGHTLY"
6
7 cargo clean
8 rustup component add miri
9 cargo miri setup
10
11 cargo miri test