Skip to content

Commit

Permalink
strip + single threaded
Browse files Browse the repository at this point in the history
  • Loading branch information
svercl committed Dec 30, 2022
1 parent 41dc090 commit f795b3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ pub fn build(b: *Builder) void {
exe.linkLibC();
exe.install();

exe.single_threaded = true;

if (mode != .Debug) {
exe.strip = true;
}

const run_cmd = exe.run();
run_cmd.step.dependOn(b.getInstallStep());
if (b.args) |args| {
Expand Down

0 comments on commit f795b3f

Please sign in to comment.