We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c63d8f3 commit 40b00f4Copy full SHA for 40b00f4
build_system/build_backend.rs
@@ -14,9 +14,12 @@ pub(crate) fn build_backend(
14
15
let mut rustflags = env::var("RUSTFLAGS").unwrap_or_default();
16
17
- // Deny warnings on CI
18
if env::var("CI").as_ref().map(|val| &**val) == Ok("true") {
+ // Deny warnings on CI
19
rustflags += " -Dwarnings";
20
+
21
+ // Disabling incr comp reduces cache size and incr comp doesn't save as much on CI anyway
22
+ cmd.env("CARGO_BUILD_INCREMENTAL", "false");
23
}
24
25
if use_unstable_features {
0 commit comments