Skip to content

fix(cd): alternative rust-lld linker for aarch64-unknown-linux-gnu#8

Merged
LeoBorai merged 2 commits intomainfrom
chore/aarch64-linux-unknown-gnu-rust-lld
Jan 1, 2026
Merged

fix(cd): alternative rust-lld linker for aarch64-unknown-linux-gnu#8
LeoBorai merged 2 commits intomainfrom
chore/aarch64-linux-unknown-gnu-rust-lld

Conversation

@LeoBorai
Copy link
Owner

@LeoBorai LeoBorai commented Jan 1, 2026

This pull request adds support for cross-compiling to the ARM64 Linux GNU target (aarch64-unknown-linux-gnu). The changes ensure the correct linker is configured and that the necessary toolchain is installed in the CI workflow.

Cross-compilation support for ARM64:

  • Added a [target.aarch64-unknown-linux-gnu] section in .cargo/config.toml to specify the use of aarch64-linux-gnu-gcc as the linker.
  • Updated the GitHub Actions workflow in .github/workflows/cd.yml to install the gcc-aarch64-linux-gnu package when building for the aarch64-unknown-linux-gnu target.

Refer to: rust-lang/rust#130062

@LeoBorai LeoBorai merged commit 0dc4e1d into main Jan 1, 2026
6 checks passed
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.

1 participant