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.
This change updates
build.zig
so it works with Zig 0.13 by using theb.path()
function to initializeLazyPath
s. Apparently specifying paths with struct literals is no longer allowed? Or at least not with these struct literals. This change also addssokold.cc
to a list of sources it was missing from, which was causing a link error.I'm new to Zig, so it's possible there's a more idiomatic way to do this, but
b.path()
is what I've seen elsewhere.I didn't see any tests for the Zig build, so I just smoke tested this change on my Mac: build the binary, run it on a few GLSL files from
test/
, make sure the output looks halfway reasonable.