Skip to content

Commit 8c6effa

Browse files
Seulgi Kimmajecty
Seulgi Kim
authored andcommitted
Update README to correspond to rust toolchains
1 parent 1b8a646 commit 8c6effa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ With the methods above, node organizers can manage their local persistent data u
7373
### Building From Source
7474

7575
#### Build Dependencies
76-
CodeChain requires Rust version 1.34.0 to build. Using [rustup](https://rustup.rs/ "rustup URL") is recommended.
76+
CodeChain requires Rust version 1.37.0 to build. Using [rustup](https://rustup.rs/ "rustup URL") is recommended.
7777

7878
- For Linux Systems:
7979
- Ubuntu
@@ -135,32 +135,32 @@ You can create a block by sending a parcel through [JSON-RPC](https://github.com
135135
Make sure you run `rustfmt` before creating a PR to the repo. You need to install the nightly-2018-12-06 version of `rustfmt`.
136136
137137
```sh
138-
rustup toolchain install nightly-2019-05-17
139-
rustup component add rustfmt --toolchain nightly-2019-05-17
138+
rustup toolchain install nightly-2019-10-13
139+
rustup component add rustfmt --toolchain nightly-2019-10-13
140140
```
141141
142142
To run `rustfmt`,
143143
144144
```sh
145-
cargo +nightly-2019-05-17 fmt
145+
cargo +nightly-2019-10-13 fmt
146146
```
147147
148148
## Linting
149149
150150
You should run `clippy` also. This is a lint tool for rust. It suggests more efficient/readable code.
151151
You can see [the clippy document](https://rust-lang.github.io/rust-clippy/master/index.html) for more information.
152-
You need to install the nightly-2019-05-17 version of `clippy`.
152+
You need to install the nightly-2019-10-13 version of `clippy`.
153153
154154
### Install
155155
```sh
156-
rustup toolchain install nightly-2019-05-17
157-
rustup component add clippy --toolchain nightly-2019-05-17
156+
rustup toolchain install nightly-2019-10-13
157+
rustup component add clippy --toolchain nightly-2019-10-13
158158
```
159159
160160
### Run
161161
162162
```sh
163-
cargo +nightly-2019-05-17 clippy --all --all-targets
163+
cargo +nightly-2019-10-13 clippy --all --all-targets
164164
```
165165
166166
## Testing

0 commit comments

Comments
 (0)