Cargo recently added a subcommand, `cargo check`, to perform type checking of Rust crates without the additional step of code generation. As code generation tends to dominate Rust compilation times, `cargo check` speeds up the edit-borrow checker-bewilderment cycle.
This command is now available for toplevel crates (gkrust, gkrust-gtest, geckodriver, and mozjs_sys) via the `mach cargo check` command. You can run: $ mach cargo check which checks gkrust (i.e. everything that goes into libxul). You can check other crates: $ mach cargo check gkrust-gtest or even multiple crates: $ mach cargo check gkrust gkrust-gtest If you have ideas on how this command could be improved, please bugs in Core :: Build Config. Happy hacking! -Nathan _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform