error: Unexpected on zig build MacOS 14.4
Zig Version
0.11.0 (homebrew)
Steps to Reproduce and Observed Behavior
I updated my Mac from version 13.? to 14.4 and I can no longer run zig build. I get error: Unexpected. I am unsure if the update is related. I uninstalled zig and reinstalled it using the following steps.
- brew uninstall zig
- brew install zig
- zig init-exe
- zig build
As observed above zig run works. It doesn't create a executable though (idk if it should)
Expected Behavior
I expect it to build and create an executable.
Related?: https://github.com/Homebrew/homebrew-core/issues/134298
Note I didn't use -HEAD
Likely a duplicate of https://github.com/ziglang/zig/issues/17342
You could try the workarounds mentioned in the later comments in that thread.
This was a duplicate. Thanks for your help