Figure out how to force `cargo fix` to run
Closed this issue · 5 comments
alexcrichton commented
Currently if you run cargo +nightly check
and then cargo +nightly fix
it won't actually do anything because Cargo will think it's cached. Somehow we should convince Cargo that it should at least rerun itself for the workspace-related crates.
killercup commented
There is also a long-standing clippy issue about this IIRC
… Am 04.05.2018 um 23:53 schrieb Alex Crichton ***@***.***>:
Currently if you run cargo +nightly check and then cargo +nightly fix it won't actually do anything because Cargo will think it's cached. Somehow we should convince Cargo that it should at least rerun itself for the workspace-related crates.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
phansch commented
The clippy issue is this one, I believe: rust-lang/rust-clippy#2604
killercup commented
btw i'm totally fine with executing touch <some-file>
as a first work-around here!
killercup commented
(I have a WIP for this but waited for rustfix to land in cargo; will open a PR there in a bit)
alexcrichton commented
Migrated to rust-lang/cargo#5736