Re: [dev-servo] Incremental compilation and other compile time tricks

2017-04-05 Thread Nicholas Nethercote
`mach cargo check` is worth listing in Servo's README.md, IMO! Nick On Sat, Apr 1, 2017 at 4:43 AM, Simon Sapin wrote: > If you build Servo a lot you may have noticed that compilation times have > improved over the last few months. This is combination of multiple factors. > > > # Compiler optim

Re: [dev-servo] Incremental compilation and other compile time tricks

2017-04-05 Thread Bobby Holley
That's awesome - thanks Simon! On Wed, Apr 5, 2017 at 3:13 PM, Simon Sapin wrote: > On 31/03/17 19:43, Simon Sapin wrote: > >> # cargo check >> >> Remember how I said a crate needs its dependencies to be compiled before >> it can start compiling? It actually only needs metadata (the results of >

Re: [dev-servo] Incremental compilation and other compile time tricks

2017-04-05 Thread Simon Sapin
On 31/03/17 19:43, Simon Sapin wrote: # cargo check Remember how I said a crate needs its dependencies to be compiled before it can start compiling? It actually only needs metadata (the results of the analysis phase), not the generated code. Cargo added a `cargo check` command that skips code g