Skip to content

Commit

Permalink
[Ubuntu] Pin bindgen cli version to avoid bug (#8714)
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-bershel committed Nov 2, 2023
1 parent cdbbd8a commit 3146c70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/linux/scripts/installers/rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ source $CARGO_HOME/env
rustup component add rustfmt clippy

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

# Cleanup Cargo cache
Expand Down

0 comments on commit 3146c70

Please sign in to comment.