Skip to content

Commit f4fe808

Browse files
bootstrap: Don't rely on any default settings regarding incr. comp. in Cargo.
1 parent a41ade7 commit f4fe808

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/builder.rs

+3
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,9 @@ impl<'a> Builder<'a> {
991991

992992
if self.config.incremental {
993993
cargo.env("CARGO_INCREMENTAL", "1");
994+
} else {
995+
// Don't rely on any default setting for incr. comp. in Cargo
996+
cargo.env("CARGO_INCREMENTAL", "0");
994997
}
995998

996999
if let Some(ref on_fail) = self.config.on_fail {

0 commit comments

Comments
 (0)