Zig Version
0.14.0-dev.3445+6c3cbb0c8
Steps to Reproduce and Observed Behavior
zig init an empty project
- Create a "./depinfo.d" file with the following content:
- Add the following to the build.zig:
const cmd = b.addSystemCommand(&.{ "cp", "depinfo.d" });
_ = cmd.addDepFileOutputArg("depinfo.d");
run_cmd.step.dependOn(&cmd.step);
- ------>
zig build run fails with error: IsDir
Expected Behavior
zig build run finishes successfully or reports a clear error
This is somewhat related to #20099 and #21912
Zig Version
0.14.0-dev.3445+6c3cbb0c8
Steps to Reproduce and Observed Behavior
zig initan empty projectzig build runfails witherror: IsDirExpected Behavior
zig build runfinishes successfully or reports a clear errorThis is somewhat related to #20099 and #21912