Browse Source

setup.sh - install correct version of clippy

Mokhtar Naamani 3 years ago
parent
commit
1a62c90749
1 changed files with 2 additions and 1 deletions
  1. 2 1
      setup.sh

+ 2 - 1
setup.sh

@@ -36,7 +36,8 @@ source ~/.cargo/env
 rustup install nightly-2021-02-20
 rustup target add wasm32-unknown-unknown --toolchain nightly-2021-02-20
 
-rustup component add rustfmt clippy
+rustup component add --toolchain nightly-2021-02-20 clippy
+rustup component add rustfmt
 
 # Install substrate keychain tool - install doesn't seem to work lately.
 # cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.1 --locked