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 Linux Arm #324

Closed
gregorni opened this issue Aug 11, 2023 · 5 comments
Closed

Support for Linux Arm #324

gregorni opened this issue Aug 11, 2023 · 5 comments
Labels
feature request New feature or request
Milestone

Comments

@gregorni
Copy link

It would be cool to have support for Linux on Arm64/Aarch64 devices with the aarch64-unknown-linux-gnu target, along with the current x86_64 support.

This would allow building for the Raspberry Pi, Asahi Linux systems, Aarch64 Flatpaks, Pine64 devices, and so on.

@Gankra Gankra added the feature request New feature or request label Aug 29, 2023
@Gankra
Copy link
Contributor

Gankra commented Aug 29, 2023

Yep, for sure. Because github doesn't provide native linux-arm64 runners and linux toolchains don't default with this stuff (unlike macos), this needs to rely on some version of #74 to get the right headers/definitions for the target.

@zahash
Copy link

zahash commented Oct 22, 2023

Yes, please. I also have a raspberry pi and right now cargo-dist doesn't build for aarch64-unknown-linux-gnu

@mistydemeo
Copy link
Contributor

This will be supported with the upcoming 0.6.0 release. We're planning to begin distributing aarch64-unknown-linux-gnu and aarch64-unknown-linux-musl binaries.

@DCNick3
Copy link

DCNick3 commented Dec 19, 2023

Do I understand it right, that I would have to provide a linux aarch64 runner myself to be able to use it, since github still doesn't provide hosted arm linux runners and cargo-dist doesn't do cross-compilation yet?

@mistydemeo
Copy link
Contributor

Yes, that's right. For our own binaries, we're using BuildJet's runners. GitHub have a closed beta of paid ARM Linux runners as well: https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/

Now that we have custom runner support, I'm going to close this issue. Feel free to open issues if you have further questions though!

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

No branches or pull requests

5 participants