Rustup 1.20 searches for components itself 🎉

pull/35/head
Andre Richter 5 years ago committed by Andre Richter
parent 53f6b02787
commit 059b77fa36
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -22,19 +22,14 @@ _Cheers,
## Prerequisites
Before you can start, you'll need a suitable Rust toolchain.
Please browse to the [rustup components history] and note the date of the most recent
build that shows `clippy` as `present`.
[rustup components history]: https://rust-lang.github.io/rustup-components-history/
Then, proceed to install this nightly using your noted date:
```bash
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-YOUR_DATE_HERE
# For example:
# curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2019-09-05
curl https://sh.rustup.rs -sSf \
| \
sh -s -- \
--default-toolchain nightly \
--component rust-src llvm-tools-preview clippy rustfmt rls rust-analysis
rustup component add rust-src llvm-tools-preview clippy rustfmt
cargo install cargo-xbuild cargo-binutils
```

Loading…
Cancel
Save