Skip to content

Commit c38bf90

Browse files
committed
fix(build): update Zig version to 0.12.0 and improve build command syntax
1 parent 036dc88 commit c38bf90

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ target
1313
.settings
1414
zig-out
1515
zig-cache
16+
.zig-cache

javascript/net/grpc/web/generator/build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ pub fn build(b: *std.Build) void {
220220
.root = .{ .path = protobuf_dir },
221221
});
222222

223-
// Target and optimize configured at creation time above.
224-
exe.strip = true;
223+
// Target and optimize configured at creation time above.
224+
// Install the built artifact (Zig 0.12 API).
225225
b.installArtifact(exe);
226226
}
227-
}
227+
}

0 commit comments

Comments
 (0)