switch to newerstd.build.Builder APIs as zig master has made some old ones a @compileError()
fix pointless discard (also addressed by #10)
inline the for loop over the Emitter functions in due to compiler complaining that items but be comptime, another fix is probably to change the type of items to [10]*const fn(...)
I've marked this a draft as compiling with latest master would also require updating the parser-toolkit dependency with this PR and this dependency update could be bundled with this PR.
Changes:
std.build.Builder
APIs as zig master has made some old ones a@compileError()
for
loop over theEmitter
functions in due to compiler complaining thatitems
but be comptime, another fix is probably to change the type ofitems
to[10]*const fn(...)
I've marked this a draft as compiling with latest master would also require updating the parser-toolkit dependency with this PR and this dependency update could be bundled with this PR.