[WIP] Ports: Update Zig to 0.15.0-dev.45+24db007cd #25775
Draft
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.
Still lots of work to do, but I think I got far enough to put it here as a draft.
This is essentially the 0.14.0 release from a few days ago. To improve the overall situation of the port and since I had to redo a lot of patches anyway I started upstreaming and target 0.15.0-dev (i.e. Zig master) instead:
This allows us to drop the script that generated
std.c
constants by importing our headers at build time, subsequently LibC/Kernel changes now require a PR to upstream Zig.The LLVM patches are copied over from our toolchain/port (at the time of 19.x) as usual, with paths adjusted for https://github.com/ziglang/zig-bootstrap and some hunks dropped.