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

Update Rust cargo linter to better integrate with Clippy #2618

Merged
merged 2 commits into from
Jul 14, 2019

Conversation

JeanMertz
Copy link
Contributor

Two changes:

  • It was confusing (and not mentioned in the documentation) that rust_cargo_clippy_options required you to start the string with -- (such as -- -D warning). It now accepts both forms (so also -D warning).
  • For some reason (AFAIK incorrectly) all cargo-specific flags were only supported for cargo check, while these are also valid for cargo build and cargo clippy. This now works as expected.

Aside from the unit tests, I tested both changes in my local Rust project, and they worked as expected.

@w0rp w0rp merged commit aae6d30 into dense-analysis:master Jul 14, 2019
@w0rp
Copy link
Member

w0rp commented Jul 14, 2019

Cheers! 🍻

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.

None yet

2 participants