build.zig: fix for newer compiler

This commit is contained in:
torque 2023-05-11 18:24:39 -07:00
parent 2973ae157e
commit 06a01dad6b
Signed by: torque
SSH Key Fingerprint: SHA256:nCrXefBNo6EbjNSQhv0nXmEg/VuNq3sMF5b8zETw3Tk

View File

@ -74,6 +74,6 @@ fn zed(b: *std.build.Builder, target: anytype, optimize: anytype) void {
.optimize = optimize,
});
const runcmd = tests.run();
const runcmd = b.addRunArtifact(tests);
test_step.dependOn(&runcmd.step);
}