Skip to content

Only invoke the Clippy wrapper for the leaf crate #2155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jun 10, 2025

Found this while trying clippy on the cargo benchmark, it broke, because cargo tries to use clippy for compiling a build script. We could detect this situation in rustc-fake (similarly to what bootstrap does with its fake rustc program), but this seemed easier, and it seems like it's enough.

@Kobzol Kobzol requested a review from nnethercote June 10, 2025 12:37
@Kobzol Kobzol merged commit 70fe651 into rust-lang:master Jun 10, 2025
11 checks passed
@Kobzol Kobzol deleted the clippy-fix-final-crate branch June 10, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants