Fix the build.zig file for latest Zig compatibility
This will only fix our build.zip which is now in-line with the latest Zig v0.11.0.
The build will still fail however, but that is due to the to the zig-terminal dep:
deps/zig-terminal/src/main.zig:50:30: error: struct 'target.Target' has no member named 'current'
const is_windows = std.Target.current.os.tag == .windows;
~~~~~~~~~~^~~~~~~~
/usr/lib/zig/std/target.zig:6:20: note: struct declared here
pub const Target = struct {
I would just switch this to use the new package manager stuff. Assuming zig-terminal is being kept up to date.
Zig terminal doesn't seems to be updated anymore. At least not recently
We can just remove that dependency then
Yea not sure how much you depend on this terminal dependency. And what it all emulates.
Your project was just the first project I tried to learn zig 🤣. And fixing your build. Despite not able to run the executable yet.