Add linux-musl release and CI targets - #107
Merged
Merged
Conversation
Adds x86_64-unknown-linux-musl and aarch64-unknown-linux-musl to the release binary matrix (built via cross, same pattern as the existing aarch64-gnu target) and matching build-only cross-compile checks in CI, so musl-based Linux distributions (e.g. Alpine) are covered alongside the existing glibc, macOS, and Windows targets. A Cross.toml pre-build step installs cmake for both musl targets, needed by aws-lc-sys (rustls's default crypto provider, pulled in transitively via reqwest/hyper-rustls).
bug-ops
enabled auto-merge (squash)
August 12, 2026 19:09
bug-ops
disabled auto-merge
August 12, 2026 19:10
release-check ran on every push/PR against main and develop (inherited from the workflow-level triggers via needs: [test]), duplicating work already covered by the test/coverage/msrv jobs on every branch and PR. Restrict it to push events on main only, since its purpose is to mirror what the release workflow will build once code lands there.
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
x86_64-unknown-linux-muslandaarch64-unknown-linux-muslto the release build matrix (viacross, same pattern as the existingaarch64-unknown-linux-gnutarget), covering musl-based Linux distributions (e.g. Alpine) alongside the existing glibc, macOS, and Windows targetswindows-latest / aarch64-pc-windows-msvcpattern (build check only, no test run under emulation)Cross.tomlinstallingcmakeas a pre-build step for both musl targets, needed byaws-lc-sys(rustls's default crypto provider, pulled in transitively viareqwest/hyper-rustls) — not guaranteed to be preinstalled in the defaultcross-rsmusl Docker imagesREADME.mdplatform table and the release notes template inrelease.ymlto list the new musl archivesnative-tls/openssl-sysin the dependency tree (workspace usesrustlsviareqwest's default backend), and no other C-linked crates were found inCargo.lock, so musl cross-compilation should be a clean additionTest plan
cargo +nightly fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo nextest run --workspace --all-features --no-fail-fast(1329 passed)fy linton both modified workflow files (0 errors)cross build --target x86_64-unknown-linux-musl/aarch64-unknown-linux-muslhas not been run locally (no Docker daemon available in this session) — verify via the new CI job on this PR before merging