From 2d9cc77844f4ab5e4d7d4bc09a0a40b9c8152467 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Fri, 30 Jul 2021 22:05:33 +0300 Subject: [PATCH] [windows] Install cargo-audit 0.14.1 as 0.15.0 is broken (fix) (#3824) * Install cargo-audit without locked --- images/win/scripts/Installers/Install-Rust.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Install-Rust.ps1 b/images/win/scripts/Installers/Install-Rust.ps1 index 281857b46..6417b767f 100644 --- a/images/win/scripts/Installers/Install-Rust.ps1 +++ b/images/win/scripts/Installers/Install-Rust.ps1 @@ -21,7 +21,9 @@ $env:Path = Get-MachinePath # Install common tools rustup component add rustfmt clippy # Temporary hardcode cargo-audit 0.14.1 as 0.15.0 is broken https://docs.rs/crate/cargo-audit/0.15.0 -cargo install --locked bindgen cbindgen cargo-audit --version 0.14.1 cargo-outdated +cargo install --locked bindgen cbindgen cargo-outdated +cargo install cargo-audit --version 0.14.1 + # Run script at startup for all users $cmdRustSymScript = @"