Skip to content

Commit a076c9a

Browse files
committed
Disable incremental + LTO
This causes errors in more recent versions of rustc
1 parent 3a9ba44 commit a076c9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ RUSTFLAGS="-C debug-assertions=no" \
115115
# TODO(#79) fix the undefined references problem for debug-assertions+lto
116116
if [ -z "$DEBUG_LTO_BUILD_DOESNT_WORK" ]; then
117117
RUSTFLAGS="-C debug-assertions=no" \
118+
CARGO_INCREMENTAL=0 \
118119
$cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics -- -C lto
119120
fi
120121
$cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics --release -- -C lto

0 commit comments

Comments
 (0)