Skip to content

Include lints.rust.unexpected_cfgs.check-cfg in the fingerprint#13958

Merged
bors merged 2 commits intorust-lang:masterfrom
Urgau:check-cfg-config-fingerprint
May 28, 2024
Merged

Include lints.rust.unexpected_cfgs.check-cfg in the fingerprint#13958
bors merged 2 commits intorust-lang:masterfrom
Urgau:check-cfg-config-fingerprint

Conversation

@Urgau
Copy link
Copy Markdown
Member

@Urgau Urgau commented May 23, 2024

What does this PR try to resolve?

When changing the --check-cfg args in the lints.rust.unexpected_cfgs.check-cfg lint config, the build should be restarted as the arguments we pass to the compiler change, and they can change the diagnostics output by generating new or removing some unexpected_cfgs warning(s).

How should we test and review this PR?

Look at the before and after test (separate commit).

Additional information

Similar to #13012 which did that for the declared features.
Contrary to that PR, I didn't add a new DirtyReason variant, since even the [lints] table didn't get one.

r? @epage

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rebuild-detection Area: rebuild detection and fingerprinting S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants