bootstrap: Don't rely on any default settings regarding incr. comp. in Cargo.

This commit is contained in:
Michael Woerister 2019-01-25 11:23:08 +01:00
parent a41ade7bc3
commit f4fe8085f8

View File

@ -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 {