Skip to content

Commit

Permalink
scripts: Remove cargo install to avoid a feature error
Browse files Browse the repository at this point in the history
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 <rust-lang/rust#87920> for more information
    = help: add `#![feature(saturating_int_impl)]` to the crate attributes to enable
...
```

Signed-off-by: Changho Choi <ch754.choi@samsung.com>
  • Loading branch information
zpzigi754 committed May 13, 2024
1 parent 39b8b6d commit 7519ef8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/deps/rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7519ef8

Please sign in to comment.