fix: install rustfmt and clippy into correct toolchains
This commit is contained in:
parent
cdce2e3048
commit
18e606baa8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ fi
|
||||||
echo "Selected toolchain: ${TOOLCHAIN}"
|
echo "Selected toolchain: ${TOOLCHAIN}"
|
||||||
|
|
||||||
rustup update "${TOOLCHAIN}"
|
rustup update "${TOOLCHAIN}"
|
||||||
rustup component add rustfmt clippy
|
rustup component add --toolchain "${TOOLCHAIN}" rustfmt clippy
|
||||||
|
|
||||||
if test "${ARGS[0]}" == "cargo";then
|
if test "${ARGS[0]}" == "cargo";then
|
||||||
PRE_COMMAND="cargo +${TOOLCHAIN} "
|
PRE_COMMAND="cargo +${TOOLCHAIN} "
|
||||||
|
|
Loading…
Reference in a new issue