Skip to content

Add aarch64-linux-musl binary gem to CD pipeline#168

Merged
dduugg merged 2 commits intomainfrom
add-aarch64-linux-musl-platform
Apr 29, 2026
Merged

Add aarch64-linux-musl binary gem to CD pipeline#168
dduugg merged 2 commits intomainfrom
add-aarch64-linux-musl-platform

Conversation

@dduugg
Copy link
Copy Markdown
Contributor

@dduugg dduugg commented Apr 29, 2026

Summary

Removes aarch64-linux-musl and x64-mingw-ucrt from the platform exclusion list in the CD workflow. Both had been excluded with the comment "Rust target not available in rake-compiler-dock", but that is now outdated:

  • aarch64-linux-musl → Rust target aarch64-unknown-linux-muslexplicitly listed as supported in rake-compiler-dock and present in the rb-sys platform matrix
  • x64-mingw-ucrt → Rust target x86_64-pc-windows-gnu — also present in the rb-sys platform matrix

x64-mingw32 remains excluded since it has been superseded by x64-mingw-ucrt for Ruby 3.1+ and this gem targets 3.2+. arm-linux remains excluded because Cranelift doesn't support 32-bit architectures.

The immediate motivation for aarch64-linux-musl is #167: users on Alpine Linux / ARM64 can't compile from source due to a Cargo/RubyGems < 4.0.9 conflict, and pre-built binaries resolve that without requiring a Ruby version bump.

Closes #167.

Removes aarch64-linux-musl from the platform exclusion list. The comment
said the Rust target was unavailable in rake-compiler-dock, but the platform
is now fully supported by both rake-compiler-dock and the rb-sys ecosystem
used by oxidize-rb/actions/cross-gem@v1.

Fixes #167.
x64-mingw-ucrt maps to the Rust target x86_64-pc-windows-gnu in the rb-sys
matrix, so the "Rust target not available in rake-compiler-dock" comment was
outdated for this platform too. x64-mingw32 remains excluded since it has
been superseded by x64-mingw-ucrt for Ruby 3.1+ and this gem targets 3.2+.
@dduugg dduugg marked this pull request as ready for review April 29, 2026 18:44
@dduugg dduugg requested a review from a team as a code owner April 29, 2026 18:45
@dduugg dduugg merged commit eaa12c3 into main Apr 29, 2026
10 checks passed
@dduugg dduugg deleted the add-aarch64-linux-musl-platform branch April 29, 2026 19:42
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Native compilation issue with gem v2.0+ with Ruby < 4 on aarch64-linux-musl

2 participants