Skip to content

"cargo check" or similar to run all phases prior to trans #1313

Closed
@tomjakubowski

Description

@tomjakubowski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions