Skip to content

Commit

Permalink
chore: fix build tool installation (#14438)
Browse files Browse the repository at this point in the history
use cargo install for check tools
  • Loading branch information
leiysky authored Jan 23, 2024
1 parent c6e3573 commit 0e86ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/setup/dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,8 @@ if [[ "$INSTALL_CHECK_TOOLS" == "true" ]]; then
if [[ -f scripts/setup/rust-tools.txt ]]; then
export RUSTFLAGS="-C target-feature=-crt-static"
while read -r tool; do
cargo binstall -y "$tool"
# Use cargo install to prevent downloading the tools with incompatible GLIBC
cargo install "$tool"
done <scripts/setup/rust-tools.txt
fi

Expand Down

0 comments on commit 0e86ec1

Please sign in to comment.