[Windows] Pin bindgen cli version to avoid bug (#8713)

This commit is contained in:
Erik Bershel
2023-11-02 15:56:35 +01:00
committed by GitHub
parent 53416cd923
commit 1dac9b9f6b

View File

@@ -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