You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because moka internally uses some 64-bit atomic types from standard library, but it is not found in some 32-bit processors.
you can use portable-atomic for support these platforms.
error[E0432]: unresolved import "std::sync::atomic::AtomicU64"
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/moka-0.12.8/src/common/concurrent/atomic_time/atomic_time.rs:5:20
|
5 | sync::atomic::{AtomicU64, Ordering},
| ^^^^^^^^^
| |
| no "AtomicU64" in "sync::atomic"
| help: a similar name exists in the module: "AtomicU32"
The text was updated successfully, but these errors were encountered:
because moka internally uses some 64-bit atomic types from standard library, but it is not found in some 32-bit processors.
you can use
portable-atomic
for support these platforms.https://docs.rs/portable-atomic
cargo add moka --no-default-features -F future,logging,atomic64,quanta
cross build --release --target mipsel-unknown-linux-musl
The text was updated successfully, but these errors were encountered: