tmp: use llvm backend for debug info

This commit is contained in:
2025-11-10 18:55:23 -06:00
parent c3d687fe6a
commit 32fb30e954
2 changed files with 5 additions and 1 deletions

0
.gitmodules vendored
View File

View File

@@ -58,7 +58,11 @@ pub fn build(b: *std.Build) void {
// //
// If neither case applies to you, feel free to delete the declaration you // If neither case applies to you, feel free to delete the declaration you
// don't need and to put everything under a single module. // don't need and to put everything under a single module.
const exe = b.addExecutable(.{ .name = "zba", .root_module = exe_mod }); const exe = b.addExecutable(.{
.name = "zba",
.root_module = exe_mod,
.use_llvm = true,
});
const zgui = b.dependency("zgui", .{ .shared = false, .with_implot = true, .backend = .sdl3_opengl3 }); const zgui = b.dependency("zgui", .{ .shared = false, .with_implot = true, .backend = .sdl3_opengl3 });
const sdl = b.dependency("sdl", .{ .target = target, .optimize = optimize, .preferred_linkage = .static }); const sdl = b.dependency("sdl", .{ .target = target, .optimize = optimize, .preferred_linkage = .static });