VRAM progress and fixed a dumb Windows-only issue

This commit is contained in:
2025-07-22 19:20:45 +02:00
parent db064a691e
commit b25f830f3b
4 changed files with 123 additions and 10 deletions

View File

@@ -78,7 +78,8 @@ fn compileTheRightLua(b: *std.Build, target: std.Build.ResolvedTarget, version:
const alloc = b.allocator;
const dirName = @tagName(version);
const c = b.addObject(.{
// its a static library because COFF is a pile of shit
const c = b.addStaticLibrary(.{
.name = "lua",
.link_libc = true,
.optimize = .ReleaseFast,
@@ -192,7 +193,7 @@ pub fn build(b: *std.Build) !void {
try includeTheRightLua(b, emulator, luaVer);
// forces us to link in everything too
emulator.addObject(l);
emulator.linkLibrary(l);
emulator.linkLibrary(engineStatic);
const emulatorStep = b.step("emulator", "Builds the emulator");