Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 03209e1

Browse files
committed
Don't disable incremental cache for cargo.sh
cc rust-lang#1052
1 parent f4e22f0 commit 03209e1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

config.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,3 @@ export LD_LIBRARY_PATH="$(pwd)/target/out:$(pwd)/build_sysroot/sysroot/lib/rustl
4545
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
4646

4747
export CG_CLIF_DISPLAY_CG_TIME=1
48-
export CG_CLIF_INCR_CACHE_DISABLED=1

test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
2-
32
set -e
43

4+
# Build cg_clif
55
if [[ "$1" == "--release" ]]; then
66
export CHANNEL='release'
77
CARGO_INCREMENTAL=1 cargo rustc --release -- -Zrun_dsymutil=no
@@ -10,11 +10,15 @@ else
1010
cargo rustc -- -Zrun_dsymutil=no
1111
fi
1212

13+
# Config
1314
source config.sh
15+
export CG_CLIF_INCR_CACHE_DISABLED=1
1416

17+
# Cleanup
1518
rm -r target/out || true
1619
mkdir -p target/out/clif
1720

21+
# Perform all tests
1822
echo "[BUILD] mini_core"
1923
$RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib,dylib --target $TARGET_TRIPLE
2024

0 commit comments

Comments
 (0)