Skip to content

Commit 7201732

Browse files
committed
build(zig): simplify benchmark artifact installation
- add direct artifact installation to zig-out/bin - streamline benchmark binary deployment process - improve build script clarity for benchmark artifact
1 parent 9bb16df commit 7201732

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ pub fn build(b: *std.Build) void {
6363
});
6464
benchmark.root_module.addImport("msgpack", msgpack);
6565

66+
// Install benchmark binary to zig-out/bin
67+
b.installArtifact(benchmark);
68+
6669
const run_benchmark = b.addRunArtifact(benchmark);
6770
bench_step.dependOn(&run_benchmark.step);
6871
}

0 commit comments

Comments
 (0)