Conversation
The prebuilt *-linux-gnu CLI is linked on the release runner (ubuntu-22.04, glibc 2.35) and a newer glibc runs older binaries but not the reverse, so on an older distribution it exits with "libc.so.6: version `GLIBC_2.34' not found" before reaching main(). Releases now also carry a statically linked musl archive per architecture, which depends on no system libc; this costs one extra cargo build and no new tooling, since every crate in the CLI's tree is pure Rust with no -sys dependency. install.sh reads the host's glibc and picks between the two, falling back to the gnu archive only on an HTTP error (an older release has no musl asset) and never on a transport failure, which would otherwise misreport a flaky network as a missing asset. A binary that cannot start now names the remedy and exits non-zero instead of reporting success. CI builds x86_64 musl and cross-checks aarch64 so the first musl link never happens on a tag, and the publish job fails if any of the eight CLI archives is absent rather than shipping a release with a hole in it. The new check-glibc-floor skill keeps the floor consistent across the workflow, the installer, the docs and the download labels, and is part of pre-release-check. The desktop app is unaffected and keeps the glibc 2.35 floor: it links the distribution's WebKitGTK and so cannot be static.
release: 0.7.2
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.
Automated back-merge of
mainintodevelop.Latest commit on main:
d736fa9- Merge pull request #65 from lorem-dev/release/0.7.2Triggered by push to
mainin workflowBack-merge main -> developrun34345515692.Merge this PR (or enable auto-merge on it) to keep
developin sync with the latest release commit onmain. Resolve any conflicts manually before merging.