Skip to content

async-std won't compile on armv5te because of AtomicU64 #789

Closed
@jaysonsantos

Description

@jaysonsantos

Hi there, I have some software that I run on a dd-wrt router and while trying to move away from actix to use tide I got some problems when I tried to cross compile with my app with cross build --target armv5te-unknown-linux-musleabi --release because arm 32 bit don't have AtomicU64.
Here is the error

error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
 --> /cargo/registry/src/github.com-1ecc6299db9ec823/async-std-1.5.0/src/task/task_id.rs:2:25
  |
2 | use std::sync::atomic::{AtomicU64, Ordering};
  |                         ^^^^^^^^^
  |                         |
  |                         no `AtomicU64` in `sync::atomic`
  |                         help: a similar name exists in the module: `AtomicU8`

error: aborting due to previous error

I found this closed PR but no issue #286

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions