From daa1cf9f2d170b28b67cc9028f0448dfd3a98ad9 Mon Sep 17 00:00:00 2001 From: Changho Choi Date: Mon, 13 May 2024 11:00:38 +0900 Subject: [PATCH] scripts: Remove cargo install to avoid a feature error This fix is for resolving the below error in AnalysisHub. ``` $ ./scripts/deps/rust.sh ... Compiling tempfile v3.10.1 Compiling serde_derive v1.0.201 error[E0658]: use of unstable library feature 'saturating_int_impl' --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.201/src/lib.rs:280:13 | 280 | pub use self::core::num::Saturating; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #87920 for more information = help: add `#![feature(saturating_int_impl)]` to the crate attributes to enable ... ``` Signed-off-by: Changho Choi --- scripts/deps/rust.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/deps/rust.sh b/scripts/deps/rust.sh index 5932f9df55f6d..634bf19c0533a 100755 --- a/scripts/deps/rust.sh +++ b/scripts/deps/rust.sh @@ -18,6 +18,4 @@ rustup component add rust-src rustfmt rustup target add aarch64-unknown-linux-gnu rustup component add clippy -cargo install cargo-bloat cbindgen mdbook - rustc --version --verbose