feat: strip release builds
This commit is contained in:
parent
a4ff056fd0
commit
bcb37654c4
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ pub fn build(b: *std.build.Builder) void {
|
|||
lib.target.cpu_arch = .wasm32;
|
||||
lib.target.os_tag = .wasi;
|
||||
|
||||
lib.strip = mode != .Debug;
|
||||
|
||||
pkgs.addAllTo(lib);
|
||||
|
||||
lib.install();
|
||||
|
|
Loading…
Reference in a new issue