Hello,
I'm writing because I've been descending DVUI's dependency list to try the improvements in incremental compilation with latest zig's "pre-release".
DVUI depends on raylib which depend on zemcripten.
In case you are not aware, upcoming zig release reworked consequently the build system. This is for the better, of course 😉 but in zemscripten case it's a non trivial change because your build script relies on direct (as []const u8) path manipulation and doing so in the latest build system iteration will not be feasible anymore (or a huge hack)
Noticeably, b.getInstallPath is no more, so this means not only it will be breaking for zemscripten consumers in any cases.
I've been doing build.zig updates quite a bit in the last few days so I want to propose my assistance on the matter. But since it's gonna be a bit intrusive changes, I wanted to reach out first before throwing some code at you ...
Hello,
I'm writing because I've been descending DVUI's dependency list to try the improvements in incremental compilation with latest zig's "pre-release".
DVUI depends on raylib which depend on zemcripten.
In case you are not aware, upcoming zig release reworked consequently the build system. This is for the better, of course 😉 but in zemscripten case it's a non trivial change because your build script relies on direct (as []const u8) path manipulation and doing so in the latest build system iteration will not be feasible anymore (or a huge hack)
Noticeably,
b.getInstallPathis no more, so this means not only it will be breaking for zemscripten consumers in any cases.I've been doing build.zig updates quite a bit in the last few days so I want to propose my assistance on the matter. But since it's gonna be a bit intrusive changes, I wanted to reach out first before throwing some code at you ...