Re: Enable cargo pipelining to speed up Firefox builds

2019-06-03 Thread Andreas Tolfsen
Also sprach Nicholas Nethercote: > - Set the environment variable `CARGO_BUILD_PIPELINING=true`. And if you want to include it in your mozconfig I imagine you likely have to do something like this: mk_add_options 'export CARGO_BUILD_PIPELINING=true' _

Fwd: Enable cargo pipelining to speed up Firefox builds

2019-05-28 Thread Nicholas Nethercote
Hi, The Rust compiler and cargo have a very new feature called "pipelining". This feature increases the amount of parallelism available when building a multi-crate Rust project by overlapping the compilation of dependent crates. For more details on how it works, and lots of measurements, see this