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

travis: Use rustup provided clippy. #208

Merged
merged 1 commit into from
Jul 20, 2018
Merged

travis: Use rustup provided clippy. #208

merged 1 commit into from
Jul 20, 2018

Conversation

Hoverbear
Copy link
Contributor

@Hoverbear Hoverbear commented Jul 18, 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:

@siddontang
Copy link
Contributor

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 16ccdbb into master Jul 20, 2018
bacek pushed a commit to bacek/grpc-rs that referenced this pull request Oct 9, 2018
@overvenus overvenus deleted the use-rustup-clippy branch January 3, 2019 12:21
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