Unable to build with zig 0.12.0-dev.1664+8ca4a5240
perillo opened this issue · 0 comments
perillo commented
With the latest Zig master (2023-11-21) I'm unable to build zig-yaml.
There are two issues:
$ zig build [0]
build.zig.zon:1:2: error: missing top-level 'paths' field
.{
^
$ zig build
src/yaml.zig:490:9: error: local variable is never mutated
var maybe_value = try Value.encode(arena.allocator(), input);
^~~~~~~~~~~
src/yaml.zig:490:9: note: consider using 'const'