Skip to content

fix: cross-compilation linker in release workflow#3

Merged
aniongithub merged 1 commit into
mainfrom
fix-build
Apr 21, 2026
Merged

fix: cross-compilation linker in release workflow#3
aniongithub merged 1 commit into
mainfrom
fix-build

Conversation

@aniongithub
Copy link
Copy Markdown
Owner

Fixes the aarch64 cross-compilation failure in the release workflow.

Problem: ~/.cargo/config.toml linker config wasn't being picked up inside the devcontainer because CARGO_HOME points to /usr/local/cargo, not ~/.cargo.

Fix: Use the CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER env var instead — this always works regardless of cargo home location.

The ~/.cargo/config.toml approach fails inside the devcontainer
because CARGO_HOME points elsewhere. Use the
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER env var instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aniongithub aniongithub merged commit c70beb5 into main Apr 21, 2026
1 check passed
@aniongithub aniongithub deleted the fix-build branch April 21, 2026 07:32
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