Skip to content

Commit

Permalink
Auto merge of #1295 - RalfJung:ci-no-incremental, r=RalfJung
Browse files Browse the repository at this point in the history
set CARGO_INCREMENTAL=0 on CI

it's just a waste of time there
  • Loading branch information
bors committed Apr 2, 2020
2 parents ed14328 + 0b07f6f commit 094fec3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ build_script:
test_script:
- set RUST_TEST_NOCAPTURE=1
- set RUST_BACKTRACE=1
- set CARGO_INCREMENTAL=0
# Test host miri: 32bit Windows
- cargo miri setup
- set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\rust-lang\miri\cache\HOST
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
global:
- RUST_TEST_NOCAPTURE=1
- RUST_BACKTRACE=1
- CARGO_INCREMENTAL=0

before_script:
# Compute the rust version we use. We do not use "language: rust" to have more control here.
Expand Down
5 changes: 4 additions & 1 deletion miri
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ fi
# We enable debug-assertions to get tracing.
# We enable line-only debuginfo for backtraces.
export RUSTFLAGS="-C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1 $RUSTC_EXTRA_FLAGS"
export CARGO_INCREMENTAL=1
if [ -z "$CARGO_INCREMENTAL" ]; then
# Default CARGO_INCREMENTAL to 1.
export CARGO_INCREMENTAL=1
fi

## Helper functions

Expand Down

0 comments on commit 094fec3

Please sign in to comment.