From adcde0ca4e586a04bed3001a324a31b6c0a76c03 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 12 Apr 2023 12:58:37 +0200 Subject: [PATCH] Update for zig-master --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index dfc82bfa..0f4418a9 100644 --- a/build.zig +++ b/build.zig @@ -32,7 +32,7 @@ pub fn build(b: *std.build.Builder) !void { } for (libs) |lib| { - lib.install(); + b.installArtifact(lib); if (optimize != .Debug) { lib.strip = true; } @@ -227,6 +227,6 @@ pub fn build(b: *std.build.Builder) !void { exe.defineCMacro("ITERATIONS", std.fmt.bufPrintIntToSlice(&buf, benchmarks_iterations, 10, .lower, .{})); } - exe.install(); + b.installArtifact(exe); } }