From 0b37a50b575f440a515b8f4163fdab9098843317 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Fri, 30 Jul 2021 11:58:05 +0300 Subject: [PATCH] [Windows] cargo-audit 0.15.0 is broken, stick to 0.14.1 (#3822) --- images/win/scripts/Installers/Install-Rust.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Install-Rust.ps1 b/images/win/scripts/Installers/Install-Rust.ps1 index 0acf32799..281857b46 100644 --- a/images/win/scripts/Installers/Install-Rust.ps1 +++ b/images/win/scripts/Installers/Install-Rust.ps1 @@ -20,7 +20,8 @@ $env:Path = Get-MachinePath # Install common tools rustup component add rustfmt clippy -cargo install --locked bindgen cbindgen cargo-audit cargo-outdated +# 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 # Run script at startup for all users $cmdRustSymScript = @"