4 cd "$(dirname "$0")/../"
6 source ./scripts/setup_rust_fork.sh
8 echo "[TEST] Bootstrap of rustc"
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
14 ./x.py build --stage 1 library/std