generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Labels
Description
when I try compile s2n-quic to armv5te-unknown-linux-musleabi, I got such error:
error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/s2n-quic-platform-0.70.0/src/socket/stats.rs:6:20
|
6 | sync::atomic::{AtomicU64, Ordering},
| ^^^^^^^^^
| |
| no `AtomicU64` in `sync::atomic`
| help: a similar name exists in the module: `AtomicU32`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `s2n-quic-platform` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
As far as I know, portable_atomic can solve this problem. The AtomicU64 he provided can work on 32-bit systems.