cargo fix
checks packages twice, even if nothing was fixed
#13215
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-fix
Performance
Gotta go fast!
S-triage
Status: This issue is waiting on initial triage.
Problem
Running
cargo fix
(and worse,cargo clippy --fix
on https://github.com/crate-ci/typos is very slow. For clippy, its over 2m.Proposed Solution
Only re-check the package (to show errors/warnings) if there was output from the first run.
Notes
See also https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Performance.20of.20.60cargo.20fix.60
The text was updated successfully, but these errors were encountered: