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

This commit is contained in:
hemanthmanga
2025-04-05 03:20:45 +05:30
committed by GitHub
parent 10987cebf7
commit 5efa00f978

View File

@@ -40,7 +40,7 @@ if ($LASTEXITCODE -ne 0) {
throw "Rust component installation failed with exit code $LASTEXITCODE" throw "Rust component installation failed with exit code $LASTEXITCODE"
} }
if (-not (Test-IsWin25)) { 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) { if ($LASTEXITCODE -ne 0) {
throw "Rust tools installation failed with exit code $LASTEXITCODE" throw "Rust tools installation failed with exit code $LASTEXITCODE"
} }