[windows] Install cargo-audit 0.14.1 as 0.15.0 is broken (fix) (#3824)

* Install cargo-audit without locked
This commit is contained in:
Mikhail Timofeev
2021-07-30 22:05:33 +03:00
committed by GitHub
parent 0b37a50b57
commit 2d9cc77844

View File

@@ -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 = @"