улучшеие сборки
This commit is contained in:
@@ -8,7 +8,8 @@ pub fn build(b: *std.Build) void {
|
||||
|
||||
const exe = b.addExecutable(.{
|
||||
.name = "Zivro",
|
||||
.use_llvm = optimize == .Debug,
|
||||
.use_llvm = true,
|
||||
.use_lld = true,
|
||||
.root_module = b.createModule(.{
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
@@ -19,7 +20,7 @@ pub fn build(b: *std.Build) void {
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
exe.bundle_compiler_rt = true;
|
||||
b.installArtifact(exe);
|
||||
|
||||
const run_step = b.step("run", "Run the app");
|
||||
|
||||
Reference in New Issue
Block a user