#!/usr/bin/env bash set -e cd "$(dirname "$0")/../" ./build.sh source build/config.sh echo "[TEST] Bootstrap of rustc" git clone https://github.com/rust-lang/rust.git || true pushd rust git fetch git checkout -- . git checkout "$(rustc -V | cut -d' ' -f3 | tr -d '(')" git apply - < config.toml <