Skip to content
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

Pass --rustc argument to clippy driver #35

Merged
merged 1 commit into from
Jul 16, 2022
Merged

Pass --rustc argument to clippy driver #35

merged 1 commit into from
Jul 16, 2022

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jul 16, 2022

Fixes #13.

The --rustc flag this uses was added to clippy-driver in rust-lang/rust-clippy#5178.

$ clippy-driver --version
clippy 0.1.64 (c2f428d 2022-07-14)

$ clippy-driver --rustc --version
rustc 1.64.0-nightly (c2f428d2f 2022-07-14)

$ rustc --version
rustc 1.64.0-nightly (c2f428d2f 2022-07-14)

@dtolnay dtolnay merged commit d2b8708 into master Jul 16, 2022
@dtolnay dtolnay deleted the clippydriver branch July 16, 2022 00:45
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.

rustversion panics if RUSTC=clippy-driver
1 participant