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

Use rustup provided clippy. #186

Merged
merged 1 commit into from
Jul 20, 2018
Merged

Use rustup provided clippy. #186

merged 1 commit into from
Jul 20, 2018

Conversation

Hoverbear
Copy link
Contributor

@Hoverbear Hoverbear commented Jul 19, 2018

Also see: https://internals.rust-lang.org/t/clippy-is-available-as-a-rustup-component/7967

Move the clippy we use from being installed by cargo to being installed by rustup. If you find strange problems with clippy after they are merged you will need to do: cargo uninstall clippy && cargo uninstall clippy-lints && rustup self update

This is because the old versions of rustup don't know that clippy is managed, so they give errors like subcommand clippy does not exist.

Reasons for doing this:

Currently the clippy version must be managed separate from the Rust nightly. Using Rustup will allow each of our projects to depend on their own clippy versions and help avoid some toolchain related problems.

The PRs:

Copy link
Contributor

@siddontang siddontang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@overvenus overvenus merged commit 0cd993f into master Jul 20, 2018
@overvenus overvenus deleted the use-rustup-clippy branch July 20, 2018 04:45
azdlowry pushed a commit to azdlowry/rust-prometheus that referenced this pull request Sep 10, 2018
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.

3 participants