улучшеие сборки

This commit is contained in:
2026-02-26 22:36:03 +03:00
parent 19e0daffbd
commit a0aae5da14

View File

@@ -8,7 +8,8 @@ pub fn build(b: *std.Build) void {
const exe = b.addExecutable(.{ const exe = b.addExecutable(.{
.name = "Zivro", .name = "Zivro",
.use_llvm = optimize == .Debug, .use_llvm = true,
.use_lld = true,
.root_module = b.createModule(.{ .root_module = b.createModule(.{
.root_source_file = b.path("src/main.zig"), .root_source_file = b.path("src/main.zig"),
.target = target, .target = target,
@@ -19,7 +20,7 @@ pub fn build(b: *std.Build) void {
}, },
}), }),
}); });
exe.bundle_compiler_rt = true;
b.installArtifact(exe); b.installArtifact(exe);
const run_step = b.step("run", "Run the app"); const run_step = b.step("run", "Run the app");