Hi there,
recently I’ve been trying to get 4coder editor to get compiled and running on macOS m1 without any success so far.
It builds fine, no error messages, however, when I try to zig build run I get this trace:
The following command terminated unexpectedly:
cd /Users/nm/projects/angis && /Users/nm/projects/angis/zig-out/bin/test
error: the following build command failed with exit code 1:
/Users/nm/projects/angis/zig-cache/o/50c7e834c6252edc9b725b4f79772158/build /opt/homebrew/Cellar/zig/HEAD-6ba2fb3_1/bin/zig /Users/nm/projects/angis /Users/nm/projects/angis/zig-cache /Users/nm/.cache/zig run
yeah jmc gave a good suggestion, the executable should be in zig-out/bin. Running it through zig build will hide stuff from you. If you see an illegal instruction error message when running it directly, it means that you need to disable ubsan (the Zig github wiki should have info on how to do that).