diff --git a/images/win/scripts/Installers/Install-Rust.ps1 b/images/win/scripts/Installers/Install-Rust.ps1 index 5778fd37a914..55eb40289e23 100644 --- a/images/win/scripts/Installers/Install-Rust.ps1 +++ b/images/win/scripts/Installers/Install-Rust.ps1 @@ -35,7 +35,8 @@ rustup target add x86_64-pc-windows-gnu # Install common tools rustup component add rustfmt clippy -cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated +cargo install --locked bindgen-cli --version 0.68.1 # Temp fix for https://github.com/rust-lang/rust-bindgen/issues/2677 +cargo install --locked cbindgen cargo-audit cargo-outdated # Cleanup Cargo crates cache Remove-Item "${env:CARGO_HOME}\registry\*" -Recurse -Force