mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Ubuntu] Pin bindgen cli version to avoid bug (#8714)
This commit is contained in:
@@ -20,9 +20,11 @@ source $CARGO_HOME/env
|
|||||||
rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
|
|
||||||
if isUbuntu22; then
|
if isUbuntu22; then
|
||||||
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
cargo install bindgen-cli --version 0.68.1 # Temp fix for https://github.com/rust-lang/rust-bindgen/issues/2677
|
||||||
|
cargo install cbindgen cargo-audit cargo-outdated
|
||||||
else
|
else
|
||||||
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup Cargo cache
|
# Cleanup Cargo cache
|
||||||
|
|||||||
Reference in New Issue
Block a user