Zig Version
0.17.0-dev.638+333724ff7
Steps to Reproduce, Observed Behavior, and Expected Behavior
zig init a project
Add/Insert the following code below the const exe = ... declaration
constexe_options=b.addOptions();constexe_options_mod=exe_options.createModule();exe_options.addOptionPath("some_dir_path",.zig_lib);exe.root_module.addImport("build_options",exe_options_mod);$ ~/lab/zig/build/stage3/bin/zig build
install
└─ install repro
└─ compile exe repro Debug native
└─ options failure
error: failed checking cache: //home/rad/lab/zig/build/stage3/lib/zig file_hash IsDir
It used to work
### Zig Version
0.17.0-dev.638+333724ff7
### Steps to Reproduce, Observed Behavior, and Expected Behavior
1.
`zig init` a project
Add/Insert the following code below the `const exe = ...` declaration
```zig
const exe_options = b.addOptions();
const exe_options_mod = exe_options.createModule();
exe_options.addOptionPath("some_dir_path", .zig_lib);
exe.root_module.addImport("build_options", exe_options_mod);
```
2.
```
$ ~/lab/zig/build/stage3/bin/zig build
install
└─ install repro
└─ compile exe repro Debug native
└─ options failure
error: failed checking cache: //home/rad/lab/zig/build/stage3/lib/zig file_hash IsDir
```
3.
It used to work