Skip to content

Commit 270ff4e

Browse files
committed
update cargo version
1 parent 30907a5 commit 270ff4e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ cargo clippy --release -- -D warnings
142142
The following is a temporary fix. See https://github.com/rust-lang/rust-clippy/issues/5094#issuecomment-579116431
143143

144144
```
145-
rustup component add clippy --toolchain nightly-2020-10-06-x86_64-unknown-linux-gnu
146-
rustup component add clippy-preview --toolchain nightly-2020-10-06-x86_64-unknown-linux-gnu
147-
cargo +nightly-2020-10-06 clippy-preview -Zunstable-options
145+
rustup component add clippy --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
146+
rustup component add clippy-preview --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
147+
cargo +nightly-2020-12-12 clippy-preview -Zunstable-options
148148
```
149149

150150
#### Clippy and Continuous Integration (CI)
@@ -170,7 +170,7 @@ The styles are defined in the rustfmt.toml configuration file, which was generat
170170
#### Install RustFmt
171171

172172
```bash
173-
rustup component add rustfmt --toolchain nightly-2020-10-06-x86_64-unknown-linux-gnu
173+
rustup component add rustfmt --toolchain nightly-2020-12-12-x86_64-unknown-linux-gnu
174174
```
175175

176176
#### Check Formating Changes that RustFmt before applying them
@@ -215,7 +215,7 @@ substrate-module-new <module-name> <author>
215215
so we must manually change this to the latest Rust Nightly version only
216216
when it is known to work.
217217
```bash
218-
rustup toolchain install nightly-2020-10-06
218+
rustup toolchain install nightly-2020-12-12
219219
rustup update stable
220220
rustup target add wasm32-unknown-unknown --toolchain nightly
221221
```
@@ -225,7 +225,7 @@ substrate-module-new <module-name> <author>
225225
and because developers may forget to update to the latest version of Rust
226226
Nightly locally. So the solution is to install a specific version of
227227
Rust Nightly in .github/workflows/rust.yml (i.e.
228-
`rustup toolchain install nightly-2020-10-06`), since for example
228+
`rustup toolchain install nightly-2020-12-12`), since for example
229229
the latest Rust Nightly version nightly-2020-02-20 may cause our CI tests
230230
to fail (i.e. https://github.com/DataHighway-DHX/node/issues/32)
231231

scripts/init.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ echo "*** Initializing WASM build environment"
66

77
rustup update stable
88
rustup update nightly
9-
rustup toolchain install nightly-2020-10-06
10-
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-06
11-
rustup default nightly-2020-10-06
12-
rustup override set nightly-2020-10-06
9+
rustup toolchain install nightly-2020-12-12
10+
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-12-12
11+
rustup default nightly-2020-12-12
12+
rustup override set nightly-2020-12-12

0 commit comments

Comments
 (0)