Skip to content

cargo check should be able to run in parallel to cargo build/run #5169

Open

Description

My usual workflow is to use Ctrl-B in Sublime to do cargo check and in a separate cmd window have cargo watch -x run running so that it always runs the latest version of my application.
But the problem is, both commands demand exclusive access to the build, and often, when I press Ctrl-B, cargo watch -x run is faster in acquiring the lock than the cargo check spawned by Sublime, and then I have to wait for a minute before the check runs and another minute before I can get the errors highlighted inside my source..
This is very frustrating, it should be possible to run both in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-layoutArea: target output directory layout, naming, and organizationArea: target output directory layout, naming, and organizationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-buildCommand-checkS-needs-team-inputStatus: Needs input from team on whether/how to proceed.Status: Needs input from team on whether/how to proceed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions