Skip to content

Enable aarch64-unknown-linux-musl builds, bump to 0.1.7 - #15

Merged
carsoncall merged 2 commits into
mainfrom
aarch64-musl-target
Jul 7, 2026
Merged

Enable aarch64-unknown-linux-musl builds, bump to 0.1.7#15
carsoncall merged 2 commits into
mainfrom
aarch64-musl-target

Conversation

@carsoncall

Copy link
Copy Markdown
Contributor

Last dependency blocker for Jump's Alpine (musl) Docker migration — lrs is consumed with RustlerPrecompiled's default target list, which includes aarch64-unknown-linux-musl, so Alpine-ARM builds try to download that asset and 404 (v0.1.6 never shipped it; the matrix entry was commented out).

  • Uncomments the aarch64-unknown-linux-musl matrix entry (use-cross: true, same as the working x86_64-musl entry). The identical cross/rustler recipe built this target successfully in Jump-App/rrule earlier today, and the crate is pure Rust (rustler + suffix) with nothing musl-hostile.
  • Moves the x86_64-gnu job from the retired ubuntu-20.04 runner image (jobs targeting it queue forever — same failure mode that hung rrule's windows-2019 jobs) to ubuntu-22.04.
  • Bumps version to 0.1.7 for the release that first carries the musl asset.

This workflow runs its matrix on PRs (LRS_FORCE_BUILD=true), so this PR's own checks validate the new target before merge.

After merge: tag v0.1.7, regenerate checksum-Elixir.LRS.exs against the release, then bump Jump's mix.exs/mix.lock pin.

🤖 Generated with Claude Code

carsoncall and others added 2 commits July 7, 2026 15:10
Uncomments the aarch64-musl matrix entry (needed for Jump's Alpine
Docker migration — RustlerPrecompiled's default targets already include
it, so consumers on Alpine ARM try to download it and 404). The same
cross/rustler stack builds this target fine in Jump-App/rrule today.

Also moves the x86_64-gnu job off the retired ubuntu-20.04 runner image
(jobs targeting it queue forever) to ubuntu-22.04.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Without this, rustc's default +crt-static on musl targets fails with
'cannot produce cdylib ... does not support these crate types' — the
error that blocked this target originally. Mirrors the existing
x86_64-unknown-linux-musl entry (and Jump-App/rrule's working config).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@carsoncall
carsoncall merged commit c4e8aa1 into main Jul 7, 2026
8 checks passed
@carsoncall
carsoncall deleted the aarch64-musl-target branch July 7, 2026 22:31
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.

2 participants