Skip to content

Commit caeea3f

Browse files
committed
Do not strip debug builds
1 parent 3eafe0a commit caeea3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ pub fn build(b: *std.Build) !void {
331331
.root_module = b.createModule(.{
332332
.target = target,
333333
.optimize = optimize,
334-
.strip = true,
334+
.strip = optimize != .Debug,
335335
.link_libc = true,
336336
}),
337337
});

0 commit comments

Comments
 (0)