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

Support for ARM Musl targets #736

Closed
lilianmoraru opened this issue Sep 29, 2016 · 5 comments
Closed

Support for ARM Musl targets #736

lilianmoraru opened this issue Sep 29, 2016 · 5 comments

Comments

@lilianmoraru
Copy link

Rust now supports these targets:

arm-unknown-linux-musleabi
arm-unknown-linux-musleabihf
armv7-unknown-linux-musleabihf

Could we get support for these targets?(Although, the packages are not yet uploaded 😄 )

@jonas-schievink
Copy link

Shouldn't support for them land automatically once they're uploaded?

@brson
Copy link
Contributor

brson commented Sep 29, 2016

The actual work here needs to be done in rust-buildbot but there are some bugs there preventing it from happening.

@lilianmoraru
Copy link
Author

Alex Crichton added support for it in rust-buildbot.

@lilianmoraru
Copy link
Author

@jonas-schievink I don't know how exactly rustup works.
I tried now: rustup target add arm-unknown-linux-musleabi
And I get: error: component 'rust-std' for 'arm-unknown-linux-musleabi' is unavailable for download.

Although, I am not sure that arm-unknown-linux-musleabi was already built(I just guessed since 9 hours have passed).

@lilianmoraru
Copy link
Author

lilianmoraru commented Oct 14, 2016

Big thanks to @alexcrichton, these targets work now:

  • arm-unknown-linux-musleabi
  • arm-unknown-linux-musleabihf
  • armv7-unknown-linux-musleabihf
  • asmjs-unknown-emscripten
  • wasm32-unknown-emscripten

num_cpus as a test, compiles with all the musl targets but not with emscripten.
Update: More complex applications that require linking other libraries fail.
Most probably need the cargo configs.

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

3 participants