islet-project / islet

An on-device confidential computing platform
Apache License 2.0
91 stars 16 forks source link

scripts: Remove cargo install to avoid a feature error #322

Closed zpzigi754 closed 3 months ago

zpzigi754 commented 3 months ago

This fix is intended 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 <https://github.com/rust-lang/rust/issues/87920> for more information
    = help: add `#![feature(saturating_int_impl)]` to the crate attributes to enable
...
zpzigi754 commented 3 months ago

I close this in favor of https://github.com/islet-project/islet/pull/323

zpzigi754 commented 3 months ago

I've reopend this PR for quick fixing the issue, as the alternative solution (https://github.com/islet-project/islet/pull/323) has another issue in clippy.