cargo update removes uninstalled deps from target/, when detected they have been removed from Cargo.toml #6435
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-clean
Command-update
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Describe the problem you are trying to solve
I get quite annoyed of having to clear my target folder and rebuild everytime this happens, and I don't feel like digging through
target/
in search for my package.Describe the solution you'd like
An extension to cargo update (maybe even a seperate command) that removes unused packages from
target/
.The text was updated successfully, but these errors were encountered: