Skip to content

Commit

Permalink
Strip release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisaphone committed Jul 17, 2024
1 parent c7b0e65 commit 37c7eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub fn build(b: *std.Build) void {
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
.strip = optimize == .ReleaseFast or optimize == .ReleaseSmall,
});

// This declares intent for the executable to be installed into the
Expand Down

0 comments on commit 37c7eaa

Please sign in to comment.