From 9dac5c87002402a52f3872b39bd394091df84e78 Mon Sep 17 00:00:00 2001 From: Titanium Brain Date: Sat, 11 Jul 2026 12:04:40 +0100 Subject: [PATCH] fix(LuaParser): open only needed libs --- ly-core/src/root.zig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ly-core/src/root.zig b/ly-core/src/root.zig index 7c1322a..ad32484 100644 --- a/ly-core/src/root.zig +++ b/ly-core/src/root.zig @@ -158,7 +158,11 @@ pub fn LuaParser(comptime Struct: type) type { var lua: *Lua = try .init(allocator); defer lua.deinit(); - lua.openLibs(); + lua.openBase(); + lua.openBit(); + lua.openMath(); + lua.openString(); + lua.openTable(); // convert to sentinel terminated slice const spath: [:0]const u8 = try allocator.dupeSentinel(u8, path, 0);