Skip to content

Commit 094fec3

Browse files
committed
Auto merge of #1295 - RalfJung:ci-no-incremental, r=RalfJung
set CARGO_INCREMENTAL=0 on CI it's just a waste of time there
2 parents ed14328 + 0b07f6f commit 094fec3

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ build_script:
4646
test_script:
4747
- set RUST_TEST_NOCAPTURE=1
4848
- set RUST_BACKTRACE=1
49+
- set CARGO_INCREMENTAL=0
4950
# Test host miri: 32bit Windows
5051
- cargo miri setup
5152
- set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\rust-lang\miri\cache\HOST

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ env:
1919
global:
2020
- RUST_TEST_NOCAPTURE=1
2121
- RUST_BACKTRACE=1
22+
- CARGO_INCREMENTAL=0
2223

2324
before_script:
2425
# Compute the rust version we use. We do not use "language: rust" to have more control here.

miri

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ fi
4949
# We enable debug-assertions to get tracing.
5050
# We enable line-only debuginfo for backtraces.
5151
export RUSTFLAGS="-C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1 $RUSTC_EXTRA_FLAGS"
52-
export CARGO_INCREMENTAL=1
52+
if [ -z "$CARGO_INCREMENTAL" ]; then
53+
# Default CARGO_INCREMENTAL to 1.
54+
export CARGO_INCREMENTAL=1
55+
fi
5356

5457
## Helper functions
5558

0 commit comments

Comments
 (0)