Skip to content

build releases on linux with cargo-zigbuild - #24

Merged
tinfoilhash merged 2 commits into
developmentfrom
build-releases-on-linux
Nov 28, 2026
Merged

tinfoilhash merged 2 commits into
developmentfrom
build-releases-on-linux

Conversation

@tinfoilhash

Copy link
Copy Markdown
Owner

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/dist that 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 strip with rcodesign verify, the same as v0.1.0's, but rcodesign warns 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 xcrun couldn't find an sdk. it's expected, since zig supplies what the linker needs.

made with claude code + tinfoil hash · session 2f2d708e-2590-4fbb-a068-cd4fdd452239

tinfoilhash and others added 2 commits November 27, 2026 23:05
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>
@tinfoilhash
tinfoilhash merged commit 1178331 into development Nov 28, 2026
1 check passed
@tinfoilhash
tinfoilhash deleted the build-releases-on-linux branch November 28, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant