strip vinput in release mode

This commit is contained in:
LordMZTE 2022-10-17 11:13:52 +02:00
parent b08b1e3e5c
commit 922c4d06bd
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -18,6 +18,8 @@ pub fn build(b: *std.build.Builder) void {
exe.linkLibC();
exe.linkSystemLibrary("x11");
exe.strip = mode != .Debug;
exe.install();
const run_cmd = exe.run();