-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to install on Rust 1.31.0 with rustup #3503
Comments
… On Thu, Dec 6, 2018, 1:02 PM Ash ***@***.*** wrote:
Don't seem be to be able to install clippy via rustup.
C:\Users\Ash> rustup show
Default host: x86_64-pc-windows-msvc
stable-x86_64-pc-windows-msvc (default)
rustc 1.31.0 (abe02cefd 2018-12-04)
C:\Users\Ash> rustup component add clippy
error: toolchain 'stable-x86_64-pc-windows-msvc' does not contain component 'clippy' for target 'x86_64-pc-windows-msvc'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3503>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABivSFEnU-O-dPc5J6fiZ7ivS9-MpsJPks5u2VudgaJpZM4ZHBaA>
.
|
could you try |
No luck:
|
|
I've found the issue and am working on it! |
Same for x86_64-unknown-linux-gnu |
After the last comment just checked on WSL, and can confirm it's the same for EDIT: just updated to |
Same for
|
The solution is to completely wipe your toolchain and reinstall it. |
@CryZe that's one heck of a solution, but I can confirm it worked for me on macOS Mojave. |
I solved this problem with following way.
|
Thanks everyone for the workarounds! I'm going to go ahead and close this issue, as it's not directly in the power of Clippy to fix this. Although not ideal, the above workarounds should work if you're running into the problem 💟 |
This bit me, and I suspect it could bite others too (I almost opened an issue). Maybe add a note to the readme around the install instructions? |
I just had to do this (run |
Solved my problem on WSL |
Don't seem be to be able to install clippy via rustup.
The text was updated successfully, but these errors were encountered: