Skip to content

Commit ea5ea5f

Browse files
committed
set minimum required zig version from build.zig.zon
1 parent f4b051a commit ea5ea5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ const assert = std.debug.assert;
33
const builtin = @import("builtin");
44
const buildpkg = @import("src/build/main.zig");
55
const appVersion = @import("build.zig.zon").version;
6+
const minimumZigVersion = @import("build.zig.zon").minimum_zig_version;
67

78
comptime {
8-
buildpkg.requireZig("0.15.1");
9+
buildpkg.requireZig(minimumZigVersion);
910
}
1011

1112
pub fn build(b: *std.Build) !void {

0 commit comments

Comments
 (0)