Debian Codegraph @

third_party/rust/safemem/run_miri.sh

raw
1 #!/bin/sh
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 set profile minimal
6 rustup default "$MIRI_NIGHTLY"
7
8 rustup component add miri
9 cargo miri setup
10
11 cargo miri test -- -- -Zunstable-options --exclude-should-panic