fix: rename bindgen to bindgen-cli
This commit is contained in:
@@ -19,11 +19,9 @@ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable --profil
|
|||||||
source "${CARGO_HOME}/env"
|
source "${CARGO_HOME}/env"
|
||||||
|
|
||||||
rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
if isUbuntuVer "22"; then
|
|
||||||
cargo install bindgen cbindgen cargo-audit cargo-outdated
|
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||||
else
|
|
||||||
cargo install --locked bindgen cbindgen cargo-audit cargo-outdated
|
|
||||||
fi
|
|
||||||
chmod -R 777 "$(dirname "${RUSTUP_HOME}")"
|
chmod -R 777 "$(dirname "${RUSTUP_HOME}")"
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user