ci: Remove QEMU aarch64 build, drop target-cpu=native from repo config#14
Merged
dimitris-norce merged 1 commit intomainfrom May 4, 2026
Merged
Conversation
linux-aarch64 builds via QEMU emulation were taking 58+ minutes. Removed the job from both ci.yml and release.yml. target-cpu=native in .cargo/config.toml was applying to CI runners where it has no benefit and can interfere. Moved it to a local comment so developers can set it in ~/.cargo/config.toml instead.
There was a problem hiding this comment.
Pull request overview
This PR removes the emulated Linux ARM64 build from CI/release workflows and stops forcing -Ctarget-cpu=native repo-wide so builds are more portable across CI and cross-compilation environments.
Changes:
- Removed the QEMU-based
build-linux-aarch64job from CI and release workflows. - Updated the release workflow to publish only Linux x86_64, macOS aarch64, and Windows x86_64 artifacts.
- Replaced the shared Cargo
target-cpu=nativesetting with guidance to configure it only in a developer’s local~/.cargo/config.toml.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/release.yml |
Removes Linux ARM64 release artifact generation and upload. |
.github/workflows/ci.yml |
Removes the Linux ARM64 CI build job. |
.cargo/config.toml |
Drops the repo-wide Rust CPU-specific build flag and leaves local-only guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
build-linux-aarch64job from bothci.ymlandrelease.yml. The job was running via QEMU software emulation on x86_64 runners, taking 58+ minutes per release. Not worth the wait — no native ARM64 runner was being used.target-cpu=nativefrom.cargo/config.toml. This flag was applying globally including in CI, where it provides no benefit (runners aren't specialized hardware) and can interfere with cross-compilation. Developers who want it locally can add it to~/.cargo/config.toml.