Skip to content

Commit

Permalink
Auto merge of rust-lang#307 - maschad:update-readme-installation, r=J…
Browse files Browse the repository at this point in the history
…ohnTitor

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.
  • Loading branch information
bors committed May 24, 2022
2 parents 8990cb1 + 2209790 commit e638bd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ repository and compiled from source or installed from
of the nightly toolchain is supported at any given time.

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

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

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

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

0 comments on commit e638bd3

Please sign in to comment.