feat: add Linux musl managed install targets#179
Merged
Conversation
Add aarch64-unknown-linux-musl and x86_64-unknown-linux-musl target triples for managed install. Auto-detects musl by checking for the /lib/ld-musl-<arch>.so.1 dynamic linker. Falls back to glibc (gnu) targets when musl is not detected. This enables managed install on Alpine-based dev containers and Remote SSH sessions to musl-based Linux hosts. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
patchloom-release Bot
pushed a commit
that referenced
this pull request
Jun 30, 2026
docs: refresh AGENTS.md test counts for binary.test.ts and patchloomCli.test.ts binary.test.ts: 54 -> 59 (5 musl detection tests added in PR #179) patchloomCli.test.ts: 36 -> 34 (2 tests removed in prior session) Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
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
Add musl-libc support to the managed installer, covering the two new Linux musl targets added in Patchloom v0.7.0. This completes platform parity between the CLI release assets and the VS Code extension.
Changes
Auto-detection
detectManagedInstallTarget()now accepts an optionalisMuslparameter. When not provided on Linux, it auto-detects musl by checking for/lib/ld-musl-<arch>.so.1(the musl dynamic linker). Falls back to glibc (gnu) targets when musl is not detected.New targets
aarch64-unknown-linux-muslx86_64-unknown-linux-muslPlatform parity
All 8 Patchloom release targets are now supported:
aarch64-apple-darwinx86_64-apple-darwinaarch64-unknown-linux-gnux86_64-unknown-linux-gnuaarch64-unknown-linux-muslx86_64-unknown-linux-muslx86_64-pc-windows-msvcaarch64-pc-windows-msvcTesting
5 new tests covering musl target selection, glibc fallback, non-Linux platform behavior, and unsupported architectures. 266/266 tests pass.