Skip to content

Commit 52e18bf

Browse files
committed
fix(build): lua54 is Lua 5.4.7
closes #128
1 parent 1a18506 commit 52e18bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build/lua.zig

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ pub const Language = enum {
1313
};
1414

1515
pub fn configure(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.OptimizeMode, upstream: *Build.Dependency, lang: Language, shared: bool) *Step.Compile {
16-
const version = switch (lang) {
17-
.lua51 => std.SemanticVersion{ .major = 5, .minor = 1, .patch = 5 },
18-
.lua52 => std.SemanticVersion{ .major = 5, .minor = 2, .patch = 4 },
19-
.lua53 => std.SemanticVersion{ .major = 5, .minor = 3, .patch = 6 },
20-
.lua54 => std.SemanticVersion{ .major = 5, .minor = 4, .patch = 6 },
16+
const version: std.SemanticVersion = switch (lang) {
17+
.lua51 => .{ .major = 5, .minor = 1, .patch = 5 },
18+
.lua52 => .{ .major = 5, .minor = 2, .patch = 4 },
19+
.lua53 => .{ .major = 5, .minor = 3, .patch = 6 },
20+
.lua54 => .{ .major = 5, .minor = 4, .patch = 7 },
2121
else => unreachable,
2222
};
2323

0 commit comments

Comments
 (0)