Zig Version
0.15.2
Steps to Reproduce and Observed Behavior
Hi, I just noticed that zig build-lib is behaving strangely when I give it a non-existent file.
$ ls # shows that no file is here
$ zig build-lib file-does-not-exist.zig
file-does-not-exist.zig:1:1: error: unable to load 'file-does-not-exist.zig': FileNotFound
/xxx/zig-x86_64-linux-0.15.2/lib/std/std.zig:112:22: note: file imported here
const root = @import("root");
^~~~~~
$ ls
libfile-does-not-exist.a
$ hexdump libfile-does-not-exist.a
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0000040 0000
0000041
Expected Behavior
I would expect libfile-does-not-exist.a not to be created.
### Zig Version
0.15.2
### Steps to Reproduce and Observed Behavior
Hi, I just noticed that `zig build-lib` is behaving strangely when I give it a non-existent file.
```
$ ls # shows that no file is here
$ zig build-lib file-does-not-exist.zig
file-does-not-exist.zig:1:1: error: unable to load 'file-does-not-exist.zig': FileNotFound
/xxx/zig-x86_64-linux-0.15.2/lib/std/std.zig:112:22: note: file imported here
const root = @import("root");
^~~~~~
$ ls
libfile-does-not-exist.a
$ hexdump libfile-does-not-exist.a
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0000040 0000
0000041
```
### Expected Behavior
I would expect `libfile-does-not-exist.a` not to be created.