• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2set -e
3
4MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
5echo "Installing latest nightly with Miri: $MIRI_NIGHTLY"
6rustup set profile minimal
7rustup default "$MIRI_NIGHTLY"
8rustup component add miri
9
10cargo miri test
11cargo miri test --target mips64-unknown-linux-gnuabi64
12