We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.14.0
I'm not sure what happened, I booted up my computer and now I can't compile my code. After running zig build, the only error message I'm getting is:
zig build
/path/to/folder/build.zig.zon:9:13: error: expected enum literal .name = "thing",
In the build.zig.zon file at the top line my LSP says:
build.zig.zon
.{ file cannot be a tuple
My build.zig.zon file is the default file created, I haven't made any changes to it.
Creating a new project and running zig build works so I'm curious if I've done something that overwrites some global default behaviour
Any clarity on what I can look for would be super helpful. Thanks :)
I expected it to either compile or show me what I can do to make it compile.
The text was updated successfully, but these errors were encountered:
Package names have a new format as of 0.14.0, see: #20178
Sorry, something went wrong.
I fixed it by doing this
rm build.zig.zon zig init
I then used git diff to see what changes I needed to make.
git diff
No branches or pull requests
Zig Version
0.14.0
Steps to Reproduce and Observed Behavior
I'm not sure what happened, I booted up my computer and now I can't compile my code.
After running
zig build
, the only error message I'm getting is:In the
build.zig.zon
file at the top line my LSP says:My
build.zig.zon
file is the default file created, I haven't made any changes to it.Creating a new project and running
zig build
works so I'm curious if I've done something that overwrites some global default behaviourAny clarity on what I can look for would be super helpful.
Thanks :)
Expected Behavior
I expected it to either compile or show me what I can do to make it compile.
The text was updated successfully, but these errors were encountered: