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)`.

(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

Reply via email to