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

add support for linux aarch64 #208

Merged
merged 6 commits into from
Nov 15, 2024
Merged

add support for linux aarch64 #208

merged 6 commits into from
Nov 15, 2024

Conversation

justjavac
Copy link
Owner

fixed #203

- name: Build release(aarch64-unknown-linux-gnu)
if: startsWith(matrix.os, 'ubuntu')
run: |
apt install -y crossbuild-essential-arm64 gcc-multilib
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
apt install -y crossbuild-essential-arm64 gcc-multilib
sudo apt-get install -y crossbuild-essential-arm64 gcc-multilib

Copy link
Contributor

@CGQAQ CGQAQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a file in .cargo/config.toml, and put the content below in there

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

@justjavac justjavac merged commit ac07839 into main Nov 15, 2024
14 checks passed
@justjavac justjavac deleted the linux-aarch64 branch November 15, 2024 09:25
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

Successfully merging this pull request may close these issues.

Feature request: AArch64 (ARM64) Linux support
2 participants