-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to cargo clean
only a sub crate of a workspace?
#5788
Comments
It should work. Can you say more about what happened? In particular for
|
Why |
Oh...some reason my brain translated Are you using "cargo clippy" from the command-line? Or maybe using the new integrated rls support? |
The other way to rerun Clippy is to touch the lib.rs/main.rs of the crate. |
How to
cargo clean
only a sub crate of a workspace?I tried
cargo clean -p cratename
but it didn't work..I wanted to run clippy on the subcrate without having to clean & rebuild the main crate because rebuilding takes hours. But clippy just said
Finished dev [optimized + debuginfo] target(s) in 7.01s
but it didn't say "compiling ...", so I want to clean only the sub crate.The text was updated successfully, but these errors were encountered: