mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
Merge pull request #2443 from ghostty-org/push-ktxyxmvpvryw
build: strip symbols from release builds
This commit is contained in:
@ -237,6 +237,11 @@ pub fn build(b: *std.Build) !void {
|
|||||||
.root_source_file = b.path("src/main.zig"),
|
.root_source_file = b.path("src/main.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
|
.strip = switch (optimize) {
|
||||||
|
.Debug => false,
|
||||||
|
.ReleaseSafe => false,
|
||||||
|
.ReleaseFast, .ReleaseSmall => true,
|
||||||
|
},
|
||||||
}) else null;
|
}) else null;
|
||||||
|
|
||||||
// Exe
|
// Exe
|
||||||
|
Reference in New Issue
Block a user