Zig Version
0.14.0-dev.2362+a47aa9dd9
Steps to Reproduce and Observed Behavior
$ zig version
0.14.0-dev.2362+a47aa9dd9
$ mkdir segfault
$ cd segfault/
$ zig init
info: created build.zig
info: created build.zig.zon
info: created src/main.zig
info: created src/root.zig
info: see `zig build --help` for a menu of options
$ zig build
$ zig test --zig-lib-dir src src/root.zig
Segmentation fault
I think it has something to do with the presence of the zig build cache, I can't get a reproduction without the presence of a built project.
Expected Behavior
Compiler should not segfault and report error regarding invalid zig lib directory
Zig Version
0.14.0-dev.2362+a47aa9dd9
Steps to Reproduce and Observed Behavior
I think it has something to do with the presence of the zig build cache, I can't get a reproduction without the presence of a built project.
Expected Behavior
Compiler should not segfault and report error regarding invalid zig lib directory