Skip to content

Commit 1dac9b9

Browse files
authored
[Windows] Pin bindgen cli version to avoid bug (#8713)
1 parent 53416cd commit 1dac9b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/win/scripts/Installers/Install-Rust.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ rustup target add x86_64-pc-windows-gnu
3535

3636
# Install common tools
3737
rustup component add rustfmt clippy
38-
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
38+
cargo install --locked bindgen-cli --version 0.68.1 # Temp fix for https://github.com/rust-lang/rust-bindgen/issues/2677
39+
cargo install --locked cbindgen cargo-audit cargo-outdated
3940

4041
# Cleanup Cargo crates cache
4142
Remove-Item "${env:CARGO_HOME}\registry\*" -Recurse -Force

0 commit comments

Comments
 (0)