From 5f9126ec320bf04e76d4db7545eeddadc36202a9 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 13 Apr 2023 22:17:27 -0500 Subject: [PATCH] fix(build): respond to latest build changes --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index ba64118..0295765 100644 --- a/build.zig +++ b/build.zig @@ -27,12 +27,12 @@ pub fn build(b: *std.Build) void { // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default // step when running `zig build`). - exe.install(); + b.installArtifact(exe); // This *creates* a RunStep in the build graph, to be executed when another // step is evaluated that depends on it. The next line below will establish // such a dependency. - const run_cmd = exe.run(); + const run_cmd = b.addRunArtifact(exe); // By making the run step depend on the install step, it will be run from the // installation directory rather than directly from within the cache directory.