Repository navigation
Description
What was measured
v0.37.0's Linux x86_64 release asset, downloaded from this repo and inspected on 2026-09-22:
$ file varve-producer
ELF 64-bit LSB pie executable, x86-64, dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2
$ strings -a varve-producer | grep -oE 'GLIBC_[0-9.]+' | sort -V | tail -1
GLIBC_2.39
So the binary is dynamically linked against glibc with a 2.39 floor.
| Target | glibc | Runs this binary |
|---|---|---|
| Ubuntu 22.04 | 2.35 | ✗ |
| Debian 12 (bookworm) | 2.36 | ✗ |
| RHEL 9 / Amazon Linux 2023 | 2.34 | ✗ |
| Ubuntu 20.04 | 2.31 | ✗ |
| Alpine / distroless-static | musl / none | ✗ |
Why this is being raised here
These binaries are ingested into the varve pulseengine realm's rolling layer — the pinned
toolchain an air-gapped or enterprise consumer installs. A layer's portability is the maximum
floor across its payloads, so one 2.39 payload sets the floor for the whole toolchain. Measured
across the realm on 2026-09-22:
| Repo | Release | glibc floor |
|---|---|---|
| rivet | v0.37.0 | 2.39 |
| spar | v0.40.0 | 2.39 |
| synth | v0.69.0 | 2.39 |
| witness | v0.43.0 | 2.39 |
sigil (wsc) |
v0.11.0 | 2.39 |
| varve | v0.37.0 | 2.39 |
| ordeal | v0.19.0 | 2.34 |
| loom | v1.4.1 | 2.34 |
| meld | v0.58.2 | 2.34 |
| kiln | v0.5.0 | 2.34 |
No repo in the org publishes a musl asset. The split between 2.34 and 2.39 is itself
unintended — it is which runner image the workflow happened to use, not a decision anyone made.
What is being asked for
Add the two musl targets to this repo's release matrix, alongside the existing gnu ones:
x86_64-unknown-linux-musl
aarch64-unknown-linux-musl
Keep the existing asset naming (varve-<tag>-<triple>.tar.gz) — varve derives asset names from
the Rust triple, so musl assets are picked up by a one-line change in the realm manifest and
nothing else. A musl build is statically linked and runs on every Linux above, including Alpine
and distroless-static.
Caveats worth stating rather than discovering: musl's allocator is slower under heavy
multi-threaded allocation, and a static binary cannot use glibc NSS or dlopen host libraries.
For a CLI that reads files and writes reports, neither usually applies — if this tool does either,
say so on this issue and the answer for it is "lower the gnu floor" instead.
The decision is the maintainer's
Three options, in the order I would pick them:
- musl beside gnu (recommended) — both assets ship; consumers choose; nothing regresses.
- musl replacing gnu — one artifact, maximal portability, loses NSS/
dlopen. - Keep gnu, lower the floor — build on
ubuntu-22.04, giving a 2.35 floor. Cheapest, still
excludes Alpine and distroless-static.
Filed from the varve side, where the floor is visible; the call belongs to this repo.
Activity
avrabe commentedon Sep 22, 2026
Filed across the realm on 2026-09-22, one per repo, each carrying that repo's own measurement:
wsc)varve's own part is two-sided, and only the first half is this issue:
varveandvarve-producer— the same change asked of every otherrepo, and the one this repo can make without waiting for anyone.
nothing about it:
varve inspectreports platforms as triples, and a triple is a platform key,not a libc claim — the
pulseengine-wasmrealm already maps bytecodealliance's muslwacbinaries onto
x86_64-unknown-linux-gnuslots. A consumer installing the rolling layer on RHEL 9today gets binaries that will not start, and nothing in the layer, the manifest or
inspectwarned them. Whether that becomes a recorded annotation, an install-time check against the host's
own glibc, or both, is a design question this issue should settle before the assets land.
The second half is the reason this was worth measuring rather than assuming: no consumer-visible
artifact in varve records the ABI a payload needs.
avrabe commentedon Sep 24, 2026
Decision (maintainer, 2026-09-24): the
pulseenginelayer's Linux payloadsswitch to musl.
What that means for each side, because they are different asks:
unchanged. Keeping gnu costs one matrix entry and serves anyone who takes
binaries directly.
installing the rolling toolchain then gets statically linked binaries that
run on RHEL 9, Debian 12, Amazon Linux 2023, Alpine and
distroless-static— none of which can run what the layer ships today (measured GLIBC_2.39
floor on six of ten payloads).
The constraint anyone implementing this needs to know first
musl cannot be a new platform key in varve.
host_platform()maps Linux to{arch}-unknown-linux-gnuunconditionally:So a payload keyed
x86_64-unknown-linux-muslwould match no host, neverbe selected at install, and fail closed with "carries no entry for platform
x86_64-unknown-linux-gnu". The triple in a layer is a platform key, not a
libc claim.
The musl asset therefore fills the gnu-keyed slot, via
asset-for:This is not a workaround invented for the occasion — the
pulseengine-wasmrealm already does exactly this for
wac, whose upstream publishes muslbinaries only.
Sequencing
varve goes first because it is ours and unblocked: v0.39.0 publishes musl
assets for
varve,varve-producerandvarve-serve, and the layer switchesvarve-producerto them. Every other tool follows as its own issue lands, oneasset-forblock at a time — the switch is per payload, so the layer is neverhalf-broken.
Not before v0.39.0, deliberately:
release.ymlchanges first execute when atag is pushed, and #186 adds the gate that rehearses
release-only actions on pull requests. Shipping an unrehearsed release-workflow
change in front of a tag is the failure that gate exists to prevent.
varve publishes musl, because the layer is switching to it
varve publishes musl, because the layer is switching to it
varve publishes musl, because the layer is switching to it (#188)
avrabe commentedon Sep 24, 2026
Closing as done — evidence in the current tree:
.github/workflows/release.ymlbuilds thex86_64-andaarch64-unknown-linux-musllegs, citing this issue (landed in d692995, v0.39.0). The layer switch to musl is recorded in the decision comment above.Found by a sweep of all 50 open issues against
main(2026-09-24): 18 were already resolved by the v0.28–v0.38 hardening wave and had simply never been closed. If this is wrong, reopen — the check was mechanical, not a judgement about scope.A Linux payload states the libc it needs, measured from its own bytes
Say which libc a payload needs, and let a consumer ask what is newer (#…
ci(release): publish musl Linux assets beside the gnu archives (#980)
ci(release): publish musl Linux assets beside the gnu archives (#980)
ci(release): publish musl Linux assets beside the gnu archives (#1086)