On a newly cloned version of the repository, when running zig build I get this error:
build.zig:9:10: error: no field named 'root_source_file' in struct 'Build.ExecutableOptions'
.root_source_file = .{ .cwd_relative = "src/main.zig" },
^~~~~~~~~~~~~~~~
/usr/lib/zig/std/Build.zig:771:31: note: struct declared here
pub const ExecutableOptions = struct {
^~~~~~
referenced by:
runBuild__anon_23564: /usr/lib/zig/std/Build.zig:2214:33
main: /usr/lib/zig/compiler/build_runner.zig:366:29
5 reference(s) hidden; use '-freference-trace=7' to see all references
I'm running:
- Zig 0.15.2
- Linux 6.17.13-hardened
- clang/llvm 20
- latest MESA drivers (vulkan support is active and working fine)
On a newly cloned version of the repository, when running
zig buildI get this error:I'm running: