From 003a39740a29e888f63e9631a8d364dccaa88c92 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sun, 26 Oct 2025 10:38:59 +0100 Subject: [PATCH] Try working around spurious rebuild bug in cargo (#41015) We've been seeing a lot of weird constant rebuilds recently with rust-anaylzer's check, either with cargo thinking build scripts are too new timestamp wise or all fingerprints having gone missing somehow (???). Reading through some related bug reports hints at disabling incremental potentially working around this for now so let's test that out cc https://github.com/rust-lang/cargo/issues/16104 Release Notes: - N/A *or* Added/Fixed/Improved ... --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index e6080d5a1ca673dec44ce1724c94c5756bbff21c..8e9ab428c316954974d69eabebeb417231b0edd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -775,6 +775,8 @@ windows-capture = { git = "https://github.com/zed-industries/windows-capture.git [profile.dev] split-debuginfo = "unpacked" +# https://github.com/rust-lang/cargo/issues/16104 +incremental = false codegen-units = 16 # mirror configuration for crates compiled for the build platform