#!/usr/bin/bash
# Clean out our target dir, which may have artifacts compiled by a version of
# rust different from the one we're about to download.
# Install and run the latest version of nightly where miri built successfully.
# Taken from: https://github.com/rust-lang/miri#running-miri-on-ci
MIRI_NIGHTLY=nightly-