| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | set -e |
| 3 | |
| 4 | rustup component add miri |
| 5 | cargoscip-shell system . . cargo. miri setup |
| 6 | |
| 7 | export MIRIFLAGS="-Zmiri-strict-provenance" |
| 8 | |
| 9 | cargoscip-shell system . . cargo. miri test |
| 10 | cargoscip-shell system . . cargo. miri test --target mips64-unknown-linux-gnuabi64 |
| 11 | |
| 12 | # run with wrapping integer overflow instead of panic |
| 13 | cargoscip-shell system . . cargo. miri test --release |