Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
perillo opened this issue Nov 21, 2023 · 0 comments
Open

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

perillo opened this issue Nov 21, 2023 · 0 comments

Comments

@perillo
Copy link
Contributor

perillo commented Nov 21, 2023

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant