Преглед на файлове

Disable incremental + LTO

This causes errors in more recent versions of rustc
Alex Crichton преди 7 години
родител
ревизия
a076c9aaa7
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      ci/run.sh

+ 1 - 0
ci/run.sh

@@ -115,6 +115,7 @@ RUSTFLAGS="-C debug-assertions=no" \
 # TODO(#79) fix the undefined references problem for debug-assertions+lto
 if [ -z "$DEBUG_LTO_BUILD_DOESNT_WORK" ]; then
   RUSTFLAGS="-C debug-assertions=no" \
+    CARGO_INCREMENTAL=0 \
     $cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics -- -C lto
 fi
 $cargo rustc --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics --release -- -C lto