Skip to content

ci: publish statically linked musl release binaries - #16

Merged
KiryuuLight merged 1 commit into
devfrom
ci/musl-targets
Aug 3, 2026
Merged

KiryuuLight merged 1 commit into
devfrom
ci/musl-targets

Conversation

@KiryuuLight

Copy link
Copy Markdown
Contributor

The prebuilt Linux binaries link against glibc, and any build on a current runner inherits a hard glibc 2.34 floor — that release re-versioned the pthread and dl symbols. Distributions older than 2.34 cannot run any asset we publish, and the runner images carrying an older glibc are retired, so the floor cannot be lowered.

This adds x86_64-unknown-linux-musl and aarch64-unknown-linux-musl to the release matrix. musl links statically, so those binaries declare no libc requirement at all and run on glibc and musl hosts alike. binstall needs no change — pkg-url is already target-templated.

The gnu targets stay, so existing download URLs, the Homebrew tap and the AUR PKGBUILD keep working.

Closes #14.

Built both targets locally: x86_64 is static-pie and runs on a glibc 2.43 host, aarch64 links clean. fmt, clippy, 106 tests clean.

@KiryuuLight
KiryuuLight merged commit 31fdd89 into dev Aug 3, 2026
1 check passed
@KiryuuLight
KiryuuLight deleted the ci/musl-targets branch August 3, 2026 19:48
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