build.zig: fix for newer compiler

This commit is contained in:
2023-05-11 18:24:39 -07:00
parent 2973ae157e
commit 06a01dad6b

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);
}