update to Zig 0.16#12388
Draft
pluiedev wants to merge 16 commits intoghostty-org:mainfrom
Draft
Conversation
We also remove the Homebrew workaround for 0.15.2 as 0.16 should work just fine on Xcode 26.4.
|
off-topic: would you please share the patch(es) for "Writergate"? I'm curious what that was and how it was migrated. |
Contributor
And then numerous follow-ups: https://github.com/ghostty-org/ghostty/pulls?q=is%3Apr+is%3Aclosed+zig+0.15 |
Mostly string replacements (std.fs -> std.Io) and propagating the Io interface wherever possible, but some APIs required more thought. Processes and environment variables are especially tricky.
…imestamp, and other various fixes
libvaxis has been a constant pain point when migrating language versions, so let's have a convenient way of ignoring it entirely
| block[i] == .transport_and_map_symbols; | ||
| } | ||
| } | ||
| }; |
Contributor
There was a problem hiding this comment.
confirming that this looks exactly right to me! sorry i didn't get in a PR to help prepare for this change
Contributor
|
I added this PR on top of |
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.
WIP! A lot of stuff still doesn't compile because all of this is a gigantic pain even more than Writergate.
Closes #12228