Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dev): Avoid unnecessary cargo check/clippy rebuilds (#10450)
The changes introduced in 7f8e41c (chore(dev): Have clippy catch debug statements (#10125)) caused cargo to use different `rustflags` between runs of `cargo clippy` and all other builds. This ended up causing running `cargo clippy` to clear cached data for the other builds and vice versa, resulting in some check cycles taking longer than necessary. Since these flags are just defines, they can be turned on for all targets, eliminating the problem.
- Loading branch information