Skip to content

Commit e638bd3

Browse files
committed
Auto merge of rust-lang#307 - maschad:update-readme-installation, r=JohnTitor
Update README installation instructions to use nightly-2022-05-16 (rust-lang#306) Closes rust-lang#306 Also we should encourage use of the nightly install for CI to achieve better stability.
2 parents 8990cb1 + 2209790 commit e638bd3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ repository and compiled from source or installed from
2727
of the nightly toolchain is supported at any given time.
2828

2929
<!-- NOTE: Keep in sync with nightly date on rust-toolchain. -->
30-
It's recommended to use `nightly-2022-04-20` toolchain.
31-
You can install it by using `rustup install nightly-2022-04-20` if you already have rustup.
30+
It's recommended to use `nightly-2022-05-16` toolchain.
31+
You can install it by using `rustup install nightly-2022-05-16` if you already have rustup.
3232
Then you can do:
3333

3434
```sh
35-
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-04-20
36-
$ cargo +nightly-2022-04-20 install --git https://github.com/rust-lang/rust-semverver
35+
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-05-16
36+
$ cargo +nightly-2022-05-16 install --git https://github.com/rust-lang/rust-semverver
3737
```
3838

3939
You'd also need `cmake` for some dependencies, and a few common libraries (if you hit
@@ -122,7 +122,7 @@ carried out correctly with regards to the current version of your crate on crate
122122

123123
```sh
124124
# install a current version of rust-semverver
125-
cargo install semverver
125+
cargo +nightly-2022-05-16 install --git https://github.com/rust-lang/rust-semverver
126126
# fetch the version in the manifest of your crate (adapt this to your usecase if needed)
127127
eval "current_version=$(grep -e '^version = .*$' Cargo.toml | cut -d ' ' -f 3)"
128128
# run the semver checks and output them for convenience

0 commit comments

Comments
 (0)