File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ With the methods above, node organizers can manage their local persistent data u
73
73
### Building From Source
74
74
75
75
#### 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.
77
77
78
78
- For Linux Systems:
79
79
- Ubuntu
@@ -135,32 +135,32 @@ You can create a block by sending a parcel through [JSON-RPC](https://github.com
135
135
Make sure you run `rustfmt` before creating a PR to the repo. You need to install the nightly-2018-12-06 version of `rustfmt`.
136
136
137
137
```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
140
140
```
141
141
142
142
To run `rustfmt`,
143
143
144
144
```sh
145
- cargo +nightly-2019-05-17 fmt
145
+ cargo +nightly-2019-10-13 fmt
146
146
```
147
147
148
148
## Linting
149
149
150
150
You should run `clippy` also. This is a lint tool for rust. It suggests more efficient/readable code.
151
151
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`.
153
153
154
154
### Install
155
155
```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
158
158
```
159
159
160
160
### Run
161
161
162
162
```sh
163
- cargo +nightly-2019-05-17 clippy --all --all-targets
163
+ cargo +nightly-2019-10-13 clippy --all --all-targets
164
164
```
165
165
166
166
## Testing
You can’t perform that action at this time.
0 commit comments