From f545a21fbe9f32b6f489b064488647997f3af70e Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 15 Mar 2021 14:21:15 +0100 Subject: Split rust fork setup out of test_bootstrap.sh --- scripts/test_bootstrap.sh | 62 +---------------------------------------------- 1 file changed, 1 insertion(+), 61 deletions(-) (limited to 'scripts/test_bootstrap.sh') diff --git a/scripts/test_bootstrap.sh b/scripts/test_bootstrap.sh index 6473c6ad67d..791d457993d 100755 --- a/scripts/test_bootstrap.sh +++ b/scripts/test_bootstrap.sh @@ -3,70 +3,10 @@ set -e cd "$(dirname "$0")/../" -./build.sh -source build/config.sh +source ./scripts/setup_rust_fork.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 <