Skip to content

[build][Zig] 0.17 migration #5951

Open
miker2049 wants to merge 6 commits into
raysan5:masterfrom
miker2049:zig-17
Open

[build][Zig] 0.17 migration #5951
miker2049 wants to merge 6 commits into
raysan5:masterfrom
miker2049:zig-17

Conversation

@miker2049

Copy link
Copy Markdown

Zig 0.17 is not out yet, but it (supposedly) will be soon. There was recently some breaking changes to the build system, causing nightly zig to not work with raylib's build.zig.

Because the aforementioned changes are not in a major release yet, this probably should not be merged yet. But it doesn't seem like there will be many further breaking changes before the major release, so this can be considered a tentative PR for when it happens. One further consideration here is that this branch uses an unmerged branch of zemscripten which updates it for 0.17. So, hopefully that can be merged before this should be!

miker2049 added 6 commits July 3, 2026 13:49
- update calls to `buildDir` and `findProgram` to their new
interfaces/calling sites.
- fix issue where you can't import zon anymore as slice (?)
Examples depend on raylib anyway, and if using emsdk, it will be
activated already.  This activation was causing an error in zig
nightly, so the change here.
@miker2049 miker2049 changed the title 0.17 migration for zig build [build][Zig] 0.17 migration for zig build Jul 3, 2026
@miker2049 miker2049 changed the title [build][Zig] 0.17 migration for zig build [build][Zig] 0.17 migration Jul 3, 2026
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