bootstrap: Don't rely on any default settings regarding incr. comp. in Cargo.
This commit is contained in:
parent
a41ade7bc3
commit
f4fe8085f8
@ -991,6 +991,9 @@ impl<'a> Builder<'a> {
|
||||
|
||||
if self.config.incremental {
|
||||
cargo.env("CARGO_INCREMENTAL", "1");
|
||||
} else {
|
||||
// Don't rely on any default setting for incr. comp. in Cargo
|
||||
cargo.env("CARGO_INCREMENTAL", "0");
|
||||
}
|
||||
|
||||
if let Some(ref on_fail) = self.config.on_fail {
|
||||
|
Loading…
Reference in New Issue
Block a user