Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 492a605

Browse files
committed
Update README for rust-toolchain pinning
1 parent e721bc2 commit 492a605

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ More information on the inner workings of the tool can be found
2424

2525
The tool is implemented as a cargo plugin. As of now, it can be obtained from this git
2626
repository and compiled from source or installed from
27-
[crates.io](https://crates.io/crates/semverver). Keep in mind that only the newest version
27+
[crates.io](https://crates.io/crates/semverver). Keep in mind that only the pinned version(in [rust-toolchain])
2828
of the nighly toolchain is supported at any given time.
2929

30+
3031
If you are already using Rust nightly and have successfully installed tools like
3132
`cargo add` and `cargo clippy`, just do:
3233

3334
```sh
34-
$ rustup update nightly
35-
$ rustup component add rustc-dev --toolchain nightly
35+
$ rustup component add rustc-dev llvm-tools-preview
3636
$ cargo +nightly install semverver
3737
```
3838

@@ -43,8 +43,7 @@ can be added here).
4343
You can also install the newest version of the tool from git:
4444

4545
```sh
46-
$ rustup update nightly
47-
$ rustup component add rustc-dev --toolchain nightly
46+
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly
4847
$ cargo +nightly install --git https://github.com/rust-dev-tools/rust-semverver
4948
```
5049

@@ -55,10 +54,6 @@ $ cargo +nightly install --git https://github.com/rust-dev-tools/rust-semverver
5554
</summary>
5655

5756
```sh
58-
# using rustup is recommended
59-
$ rustup update nightly
60-
$ rustup default nightly
61-
6257
$ git clone https://github.com/rust-dev-tools/rust-semverver
6358
$ cd rust-semverver
6459
$ cargo install

0 commit comments

Comments
 (0)