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

Commit 6ca81d4

Browse files
authored
Merge pull request #131 from elichai/patch-1
Pinning a nightly toolchain version
2 parents f3a00f9 + 0790931 commit 6ca81d4

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

README.md

Lines changed: 4 additions & 9 deletions
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

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-06-01
1+
nightly-2020-06-10

tests/full_cases/log-0.3.4-0.3.8.linux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ warning: technically breaking changes in `<new::LogRecord<'a> as std::fmt::Debug
2323
|
2424
= note: trait impl generalized or newly added (technically breaking)
2525

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

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

0 commit comments

Comments
 (0)