Closed
Description
During the edit-compile cycle it's often annoying to have to wait for trans to finish before moving on to the next edits. I propose a new subcommand, cargo check
, that runs only the parsing, expansion, and checking/analysis phases where possible when building the project.
The implementation would be just like cargo build
, but passing --no-trans
to rustc
when building the leaves of the crate dependency graph. A --lib
option, like on cargo build
, would only build the project's lib target if it has one.