Skip to content

Commit a47520f

Browse files
committed
fix: Call out reducing rebuilds for filtering lints
1 parent 4cb8421 commit a47520f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text/3389-manifest-lint.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ cargo will:
140140
3. Pass them on the command line before other configuration like
141141
`RUSTFLAGS`, allowing user configuration to override package configuration.
142142
- These flags will be fingerprinted so changing them will cause a rebuild only
143-
for the commands where they are used.
143+
for the commands where they are used. By only including the lints for the
144+
command in question, we reduce what is fingerprinted, reducing what gets
145+
rebuilt when `[lints]` is changed.
144146

145147
Note that this means that `[lints]` is only applied to the package where its
146148
defined and not to its dependencies, local or not. This avoids having to unify

0 commit comments

Comments
 (0)