From 2d1c17ba9ce17a61bdf4d950527cf2c69e9f13f4 Mon Sep 17 00:00:00 2001 From: rami3l Date: Wed, 4 Dec 2024 21:31:05 +0800 Subject: [PATCH] fixup! ci(linux): move `bindgen-cli` installation into `run.bash` --- ci/run.bash | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/run.bash b/ci/run.bash index 0035026c7d..f2d032491d 100644 --- a/ci/run.bash +++ b/ci/run.bash @@ -8,9 +8,8 @@ rustc -vV cargo -vV if [ -n "$INSTALL_BINDGEN" ]; then - (curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh \ - && mv "$HOME"/.cargo/bin/bindgen /usr/bin) \ - || cargo install --force --locked bindgen-cli --root=/usr/bin + curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-lang/rust-bindgen/releases/latest/download/bindgen-cli-installer.sh | sh -s -- --no-modify-path \ + || cargo install --force --locked bindgen-cli fi