zig-yaml icon indicating copy to clipboard operation
zig-yaml copied to clipboard

Unable to build with zig 0.12.0-dev.1664+8ca4a5240

Open perillo opened this issue 2 years ago • 0 comments

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'

perillo avatar Nov 21 '23 13:11 perillo