Skip to content

Commit 1aaa024

Browse files
authored
Merge pull request rust-lang#1108 from jyn514/cargo-target-dir
Fix compiling with CARGO_TARGET_DIR
2 parents 81b673b + a3a508a commit 1aaa024

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ while [[ $# != 0 ]]; do
2626
done
2727

2828
# Build cg_clif
29+
unset CARGO_TARGET_DIR
2930
export RUSTFLAGS="-Zrun_dsymutil=no"
3031
if [[ "$CHANNEL" == "release" ]]; then
3132
cargo build --release

prepare.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ git checkout -- .
2424
git checkout 804a7a21b9e673a482797aa289a18ed480e4d813
2525

2626
# build with cg_llvm for perf comparison
27+
unset CARGO_TARGET_DIR
2728
cargo build
2829
mv target/debug/main raytracer_cg_llvm
2930
popd

0 commit comments

Comments
 (0)