Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jaysonsantos opened this issue May 19, 2020 · 2 comments
Closed

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

jaysonsantos opened this issue May 19, 2020 · 2 comments

Comments

@jaysonsantos
Copy link
Contributor

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

@dignifiedquire
Copy link
Member

This is fixed on master, which uses AtomicUsize and will be released in 1.6.0

@jaysonsantos
Copy link
Contributor Author

Awesome, I will close this then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants