Closed GwenTheKween closed 3 months ago
Oh, I forgot to mention, I'm running on Fedora 40, baremetal
How did you install Rust?
sudo dnf install rust
If you installed Rust using rustup, then all what you need to do is running rustup component add clippy
.
I will add a hint to do this in the README. But if you installed Rust using rustup, then it should have installed Clippy too.
sudo dnf install rust
Then please install clippy using sudo dnf install clippy
Thank you! This worked.
I use Fedora myself (Silverblue). But using the official installation method is still the recommend one over using a package manager: https://www.rust-lang.org/tools/install
I just decided to try rustlings, and I can't run the first exercise. The output when I run
rustlings
is:Using the hint, there is a "cargo-clippy" package with version "0.0.0", but trying to install it gives me the following error:
and trying to install just "clippy" manages to download and install all dependencies, but fails with the following error at the end:
I'm not sure
clippy-preview
is the needed package, and I'd prefer to not litter my system with even more dependencies, considering cargo can't uninstall them properly.How do I proceed? Also, please fix the hint on rustlings, and the dependencies