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

Pinning a nightly toolchain version #131

Merged
merged 3 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ More information on the inner workings of the tool can be found

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


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

```sh
$ rustup update nightly
$ rustup component add rustc-dev --toolchain nightly
$ rustup component add rustc-dev llvm-tools-preview
$ cargo +nightly install semverver
```

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

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

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

```sh
# using rustup is recommended
$ rustup update nightly
$ rustup default nightly

$ git clone https://github.com/rust-dev-tools/rust-semverver
$ cd rust-semverver
$ cargo install
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-06-01
nightly-2020-06-10
4 changes: 2 additions & 2 deletions tests/full_cases/log-0.3.4-0.3.8.linux
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ warning: technically breaking changes in `<new::LogRecord<'a> as std::fmt::Debug
|
= note: trait impl generalized or newly added (technically breaking)

warning: technically breaking changes in `<new::LogMetadata<'a> as std::marker::StructuralEq>`
warning: technically breaking changes in `<new::LogMetadata<'a> as std::cmp::Eq>`
--> log-0.3.8/src/lib.rs:552:10
|
552 | #[derive(Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
Expand Down Expand Up @@ -71,7 +71,7 @@ warning: technically breaking changes in `<new::LogMetadata<'a> as std::fmt::Deb
|
= note: trait impl generalized or newly added (technically breaking)

warning: technically breaking changes in `<new::LogLocation as std::marker::StructuralEq>`
warning: technically breaking changes in `<new::LogLocation as std::cmp::Eq>`
--> log-0.3.8/src/lib.rs:604:30
|
604 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
Expand Down