From: bors Date: Thu, 21 Dec 2017 18:57:07 +0000 (+0000) Subject: Auto merge of #4817 - alexcrichton:incremental-by-default, r=matklad X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~4^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e10c651ea142f0a8c077bc717462b2ea233e7e1c;p=cargo.git Auto merge of #4817 - alexcrichton:incremental-by-default, r=matklad Enable incremental by default This commit enables incremental compilation by default in Cargo for all dev-related profiles (aka anything without `--release` or `bench`. A number of new configuration options were also added to tweak how incremental compilation is exposed and/or used: * A `profile.dev.incremental` field is added to `Cargo.toml` to disable it on a per-project basis (in case of bugs). * A `build.incremental` field was added in `.cargo/config` to disable globally (or enable if we flip this default back off). Otherwise `CARGO_INCREMENTAL` can still be used to configure one particular compilation. The global `build.incremental` configuration cannot currently be used to enable it for the release profile. --- e10c651ea142f0a8c077bc717462b2ea233e7e1c