Fixing "'cargo-fmt.exe' is not installed". (#1122)
* Fixing "'cargo-fmt.exe' is not installed".
This commit is contained in:
Родитель
44f5d026a4
Коммит
e44428a3be
|
@ -78,7 +78,9 @@ if ($Env:ENABLE_QIRRUNTIME -ne "false") {
|
|||
# rustfmt and clippy is available.
|
||||
rustup install nightly
|
||||
rustup toolchain install nightly
|
||||
rustup toolchain install nightly-2022-08-01
|
||||
rustup component add rustfmt clippy llvm-tools-preview
|
||||
rustup component add rustfmt clippy llvm-tools-preview --toolchain nightly
|
||||
rustup component add rustfmt clippy llvm-tools-preview --toolchain nightly-2022-08-01
|
||||
}
|
||||
|
||||
|
|
|
@ -22,5 +22,7 @@ if (-not (Get-Command rustup -ErrorAction SilentlyContinue)) {
|
|||
# rustfmt and clippy is available.
|
||||
rustup install nightly
|
||||
rustup toolchain install nightly
|
||||
rustup toolchain install nightly-2022-08-01
|
||||
rustup component add rustfmt clippy llvm-tools-preview
|
||||
rustup component add rustfmt clippy llvm-tools-preview --toolchain nightly
|
||||
rustup component add rustfmt clippy llvm-tools-preview --toolchain nightly-2022-08-01
|
||||
|
|
Загрузка…
Ссылка в новой задаче