chore: update documented min zig version

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-07-17 01:18:02 -05:00
parent 8b4faca80f
commit f2c728ef44
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ Finally it's worth noting that ZBA uses a TOML config file it'll store in your O
## Compiling ## Compiling
Most recently built on Zig [v0.11.0-dev.3395+1e7dcaa3a](https://github.com/ziglang/zig/tree/1e7dcaa3a) Most recently built on Zig [v0.11.0-dev.4003+c6aa29b6f](https://github.com/ziglang/zig/tree/c6aa29b6f)
### Dependencies ### Dependencies

View File

@ -6,7 +6,7 @@ const zgui = @import("lib/zgui/build.zig");
pub fn build(b: *std.Build) void { pub fn build(b: *std.Build) void {
// Minimum Zig Version // Minimum Zig Version
const min_ver = std.SemanticVersion.parse("0.11.0-dev.3395+1e7dcaa3a") catch return; // https://github.com/ziglang/zig/commit/34865d693 const min_ver = std.SemanticVersion.parse("0.11.0-dev.4003+c6aa29b6f") catch return; // https://github.com/ziglang/zig/commit/c6aa29b6f
if (builtin.zig_version.order(min_ver).compare(.lt)) { if (builtin.zig_version.order(min_ver).compare(.lt)) {
std.log.err("{s}", .{b.fmt("Zig v{} does not meet the minimum version requirement. (Zig v{})", .{ builtin.zig_version, min_ver })}); std.log.err("{s}", .{b.fmt("Zig v{} does not meet the minimum version requirement. (Zig v{})", .{ builtin.zig_version, min_ver })});
std.os.exit(1); std.os.exit(1);