Skip to content

Commit 3146c70

Browse files
authored
[Ubuntu] Pin bindgen cli version to avoid bug (#8714)
1 parent cdbbd8a commit 3146c70

File tree

1 file changed

+4
-2
lines changed
  • images/linux/scripts/installers

1 file changed

+4
-2
lines changed

images/linux/scripts/installers/rust.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ source $CARGO_HOME/env
2020
rustup component add rustfmt clippy
2121

2222
if isUbuntu22; then
23-
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
23+
cargo install bindgen-cli --version 0.68.1 # Temp fix for https://github.com/rust-lang/rust-bindgen/issues/2677
24+
cargo install cbindgen cargo-audit cargo-outdated
2425
else
25-
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
26+
cargo install --locked bindgen-cli --version 0.68.1 # Temp fix for https://github.com/rust-lang/rust-bindgen/issues/2677
27+
cargo install --locked cbindgen cargo-audit cargo-outdated
2628
fi
2729

2830
# Cleanup Cargo cache

0 commit comments

Comments
 (0)