mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
[Windows] Pin bindgen cli version to avoid bug (#8713)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user