From 3c97227a433c244f34fb8bb23afe41f259431d9b Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Fri, 5 Aug 2022 13:17:13 +0000 Subject: [PATCH] Fix previous commit --- build_system/build_backend.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_system/build_backend.rs b/build_system/build_backend.rs index cf04967222f..9e59b8199b4 100644 --- a/build_system/build_backend.rs +++ b/build_system/build_backend.rs @@ -19,6 +19,9 @@ pub(crate) fn build_backend( if is_ci() { // Deny warnings on CI rustflags += " -Dwarnings"; + + // Disabling incr comp reduces cache size and incr comp doesn't save as much on CI anyway + cmd.env("CARGO_BUILD_INCREMENTAL", "false"); } if use_unstable_features {