[Windows 19 & Windows 22] Fix Rust issue. (#11949)

This commit is contained in:
hemanthmanga
2025-04-04 15:50:45 -06:00
committed by GitHub
parent 10987cebf7
commit 5efa00f978
@@ -40,7 +40,7 @@ if ($LASTEXITCODE -ne 0) {
throw "Rust component installation failed with exit code $LASTEXITCODE"
}
if (-not (Test-IsWin25)) {
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
if ($LASTEXITCODE -ne 0) {
throw "Rust tools installation failed with exit code $LASTEXITCODE"
}