Repository navigation
build releases on linux with cargo-zigbuild - #24
Merged
Merged
Conversation
zig links macos binaries without an sdk, so one linux machine builds every platform, and the homebrew llvm setup and ring's cflags workaround go away. the macos binaries keep rust's minimum versions (11.0 for arm64, 10.12 for x86-64), like the ones built on a mac, since zig would otherwise target macos 15. > made with claude code + tinfoil hash · session `2f2d708e-2590-4fbb-a068-cd4fdd452239` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
> made with claude code + tinfoil hash · session `2f2d708e-2590-4fbb-a068-cd4fdd452239` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
releases can now be built on linux instead of a mac. zig links macos binaries without an sdk, so cargo-zigbuild builds all four platforms, and the homebrew llvm setup and ring's cflags workaround go away. the verifications are published with the binary in
target/distthat matches this machine.zig targets macos 15 by default, so the macos binaries are pinned to rust's minimums instead (11.0 for arm64, 10.12 for x86-64), the same as v0.1.0's. the arm64 binary's ad-hoc signature still checks out after
stripwithrcodesign verify, the same as v0.1.0's, butrcodesignwarns that its verify can mislead, so run the first one built this way on an apple silicon mac before announcing the release.each macos build prints a warning that
xcruncouldn't find an sdk. it's expected, since zig supplies what the linker needs.