Skip to content

Commit

Permalink
[Windows] Pin bindgen cli version to avoid bug (#8713)
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-bershel authored Nov 2, 2023
1 parent 53416cd commit 1dac9b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/win/scripts/Installers/Install-Rust.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1dac9b9

Please sign in to comment.