On Wed, Oct 4, 2017 at 2:41 PM, Simon Sapin <simon.sa...@exyr.org> wrote: > On 04/10/2017 13:44, Nicholas Matsakis wrote: >> >> - Configure servo to use "system rust" and to enable incremental > > > By the way, with a few recent patches you can now skip mach entirely and run > `cargo build -p servo` or `(cd ports/servo && cargo build)`.
This won't work on Windows and Android. Many necessary env variables are set via mach. > (The latter allows using -p with some other crate, otherwise the wrong set > of cargo features might be selected because of > https://github.com/rust-lang/cargo/issues/4463.) > > >>> FWIW, my "5x slower" figure was building the script crate ("mach build -p >>> script" where the dependencies are already compiled) soon after upgrading >>> rustc (so possibly with no relevant incremental cache entries) to >>> 1.22.0-nightly (c6884b12d 2017-09-30). >> >> >> 5x slower than what? > > > Slower than the same with incremental disabled. Seven and a half minutes > (incremental = true) vs one and a half (incremental = false), on a fast CPU. > > -- > Simon Sapin > > _______________________________________________ > dev-servo mailing list > dev-servo@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-servo _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo