]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_cranelift/scripts/test_bootstrap.sh
Rollup merge of #101266 - LuisCardosoOliveira:translation-rustcsession-pt3, r=davidtwco
[rust.git] / compiler / rustc_codegen_cranelift / scripts / test_bootstrap.sh
1 #!/usr/bin/env bash
2 set -e
3
4 cd "$(dirname "$0")/../"
5
6 source ./scripts/setup_rust_fork.sh
7
8 echo "[TEST] Bootstrap of rustc"
9 pushd rust
10 rm -r compiler/rustc_codegen_cranelift/{Cargo.*,src}
11 cp ../Cargo.* compiler/rustc_codegen_cranelift/
12 cp -r ../src compiler/rustc_codegen_cranelift/src
13
14 ./x.py build --stage 1 library/std
15 popd