This is a tracking issue for upstream Zig. (see Third Party Tracking Issues)
Overall, Zig is really great and its cross-compilation abilities are great, but some (planned) proposals and bug fixes would make it better:
issue https://github.com/ziglang/zig/issues/12325 (regression introduced in stage2) is blocking me being able to test conveniently. I have so far been able to avoid *anyopaque/@ptrCast but zig test foo.zig fails with circular definition error, so I have to zig test bar.zig (where foo.zig and bar.zig (correctly) refer to each other actually there are about six files that mutually refer to each other) and I worry that one day there won't be one I can start the test from.
This is a tracking issue for upstream Zig. (see Third Party Tracking Issues) Overall, Zig is really great and its cross-compilation abilities are great, but some (planned) proposals and bug fixes would make it better:
*anyopaque
/@ptrCast
butzig test foo.zig
fails with circular definition error, so I have tozig test bar.zig
(where foo.zig and bar.zig (correctly) refer to each other actually there are about six files that mutually refer to each other) and I worry that one day there won't be one I can start the test from.