错误:组件“clippy”目标 {target} 无法下载
当使用固定版本使用固定版本的rust-toolchain
1.59.0
运行CARGO CLIPPY
1.59.0 中时,我知道
error: the 'cargo-clippy' binary, normally provided by the 'clippy' component, is not applicable to the '1.59.0-aarch64-apple-darwin' toolchain
该如何解决此问题?
When using a custom rust-toolchain
file with a pinned version
1.59.0
and running cargo clippy
in 1.59.0
, I get
error: the 'cargo-clippy' binary, normally provided by the 'clippy' component, is not applicable to the '1.59.0-aarch64-apple-darwin' toolchain
How do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是由于
Rustup
被损坏。解决此问题的最可靠方法是重新安装Rustup
rustup self卸载
This might be due to
rustup
being corrupted. The surest way to fix this is reinstallingrustup
rustup self uninstall