automatically strip mzteinit binary in release mode

This commit is contained in:
LordMZTE 2022-09-09 20:49:16 +02:00
parent fee780cff7
commit d20dc292be
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -14,6 +14,7 @@ pub fn build(b: *std.build.Builder) void {
const exe = b.addExecutable("mzteinit", "src/main.zig");
exe.setTarget(target);
exe.strip = mode != .Debug;
pkgs.addAllTo(exe);