all: use std.Build.installArtifact

This commit is contained in:
Vivek Roy 2023-04-13 16:53:31 -07:00 committed by Stephen Gutekanst
parent beef56a023
commit ff0258f27d
16 changed files with 53 additions and 53 deletions

View file

@ -24,8 +24,8 @@ pub fn testStep(b: *std.Build, optimize: std.builtin.OptimizeMode, target: std.z
.target = target,
.optimize = optimize,
});
main_tests.install();
return main_tests.run();
b.installArtifact(main_tests);
return b.addRunArtifact(main_tests);
}
fn sdkPath(comptime suffix: []const u8) []const u8 {