I am using the zig 0.15.2
And working in in a personal project.
The project with zig build test works fine but does not zig build has the following ouput:
❯ zig build
install
└─ install BPE
└─ compile exe BPE Debug native failure
error: the following command terminated unexpectedly:
/usr/bin/zig build-exe -ODebug -Mroot=/mnt/fast/home/sillyprogramming/Project/BPE/src/main.zig --cache-dir .zig-cache --global-cache-dir /home/sillyprogramming/.cache/zig --name BPE --zig-lib-
dir /usr/lib/zig/ --listen=-
Build Summary: 0/3 steps succeeded; 1 failed
install transitive failure
└─ install BPE transitive failure
└─ compile exe BPE Debug native failure
error: the following build command failed with exit code 1:
.zig-cache/o/f173c1364850ca79c2a2aba7c62af021/build /usr/bin/zig /usr/lib/zig /mnt/fast/home/sillyprogramming/Project/BPE .zig-cache /home/sillyprogramming/.cache/zig --seed 0xd1035e06 -Z18cb2
32485fc9652
Here is the project https://github.com/EvilAlliance/BPE
Is my build.zig wrong, or what are the red flags that could cause this?