Repository navigation
Fix building Rune on platforms other than Linux and macOS - #218
Merged
ernestrc merged 1 commit intoNov 12, 2026
Merged
Conversation
cmd/rune, apiclient and ideupgrade only compiled on Linux and macOS. GOOS=freebsd fails in Rune's own code, and GOOS=windows has failed in cmd/rune since the presets were split per OS, on top of the tcell blocker tracked in unstablebuild#81. - Use the Linux presets on every platform that has no presets of its own. - Refuse in-place upgrades on other platforms the way unmanaged Linux installs are refused, since no release artifacts are published for them. - Read uname fields through one helper that takes a slice. The BSD half of uname_darwin.go never built, because the _darwin suffix limits the file to macOS, and the old helpers could index past a field with no NUL terminator. Platforms without uname(2) report what the Go runtime knows. Refs unstablebuild#68, unstablebuild#81 Signed-off-by: dhivadhiva <[email protected]>
ernestrc
approved these changes
Nov 11, 2026
ernestrc
enabled auto-merge (rebase)
November 11, 2026 23:32
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
cmd/rune, apiclient and ideupgrade only compiled on Linux and macOS. GOOS=freebsd fails
in Rune's own code, and GOOS=windows has failed in cmd/rune since the presets were split
per OS, on top of the tcell blocker tracked in #81.
refused, since no release artifacts are published for them.
uname_darwin.go never built, because the _darwin suffix limits the file to macOS, and
the old helpers could index past a field with no NUL terminator. Platforms without
uname(2) report what the Go runtime knows.
Refs #68, #81
Authorship
Using AI is completely fine and encouraged, especially for reviewing your changes. We ask
so we can route the review: agent-authored code gets an agent review first, while
hand-written code deserves the respect of a human reviewer. Either way, a human who
understands the change must be able to answer questions about it.