Repository navigation
v0.6.1 — pin sokol-zig fork with NO_SOKOL_APP patch (supersedes v0.6.0)
Supersedes v0.6.0
v0.6.0's fix (dropping with_sokol_imgui_no_app on every target) introduced a new desktop break: it desymmetrised the option set passed to b.dependency("sokol", ...) between this bridge and labelle-assembler/backends/sokol/build.zig. Zig keys dependencies by their option struct, so two separately compiled sokol_clib artifacts now ended up in the same binary — only one had the cimgui include path injected, so the game's sokol_imgui.c failed with 'cimgui.h' file not found.
Consumers on v0.6.0 should pin v0.6.1 directly.
What's new
Bug fixes
-
fix(sokol-bridge): re-pin sokol-zig at labelle-toolkit fork with no_app patch (ab0e3c2)
Re-pin the
sokoldep atlabelle-toolkit/sokol-zigcommit6b8609d— a 1-commit branch on top of upstreamfloooh/sokol-zig@8b1a651that appliespatches/sokol-zig-no-sokol-app.diff. The patch adds awith_sokol_imgui_no_appbuild option that definesSOKOL_IMGUI_NO_SOKOL_APPwhen compilingsokol_imgui.c.Restored
with_sokol_imgui_no_app = trueon every non-Android target, matching the option set already in use bylabelle-assembler/backends/sokol/build.zig. Symmetric option set → singlesokol_clibartifact → cimgui include path resolves → headless preview mode (labelle-assembler#140) is back.
Why a fork instead of dropping the feature
The 6-line patch is small enough to be a candidate upstream PR; pinning the labelle-toolkit fork is the bridge until/unless floooh/sokol-zig accepts it.
Compatibility
- First cut against
labelle-core1.14.x. - No API changes in
bridge.zig.
Refs labelle-assembler#140, labelle-assembler#146.