Today's Cargo nightly contains some recent fixes to make it rebuild the correct crates after changes to non-Rust source files, like the codegen input files in Servo's |`script/dom/bindings`| and |`style/properties`| crates.

To update to the newest Cargo nightly, run this command in your Servo directory:

|./mach bootstrap-cargo -f|

(If you have several clones of the Servo repo, you'll need to run it in each of them.)

Technical details of the fixes, if you're curious:

 * https://github.com/rust-lang/cargo/pull/561
 * https://github.com/rust-lang/cargo/pull/563

In other build system news, mach has gained some new abilities in the last few days:

 *

   |`./mach clean`| (shorthand for |`mach cargo clean`|)

 *

   |`./mach rustc <args> ...`| (run any |rustc| command using Servo's
   Rust snapshot)

 *

   |`./mach test-ref <test-name>` |(run reftests whose names match the
   given pattern - also works with the other testing commands like
   |`test-content`|)

_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to