#!/bin/bash
set -euo pipefail
+set -x
# Determine configuration
export RUSTFLAGS="-D warnings"
# Prepare
echo "Build and install miri"
-./miri build --all-targets --locked
./miri install # implicitly locked
+./miri build --all-targets --locked # the build that all the `./miri test` below will use
echo
# Test