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. #13

Merged
merged 1 commit into from
Jul 23, 2018
Merged

Use rustup provided clippy. #13

merged 1 commit into from
Jul 23, 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.

👍

@siddontang
Copy link
Contributor

PTAL @overvenus

@siddontang
Copy link
Contributor

@overvenus please follow the rule to give LGTM or approve it

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.

LGTM

@siddontang siddontang merged commit e715b1d into master Jul 23, 2018
@siddontang siddontang deleted the use-rustup-clippy branch July 23, 2018 09:53
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