| ... | @@ -25,6 +25,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -25,6 +25,7 @@ pub fn build(b: *std.Build) void { |
| 25 | deps.addAllTo(tests); | 25 | deps.addAllTo(tests); |
| 26 | tests.use_llvm = !disable_llvm; | 26 | tests.use_llvm = !disable_llvm; |
| 27 | tests.use_lld = !disable_llvm; | 27 | tests.use_lld = !disable_llvm; |
| | 28 | b.getInstallStep().dependOn(&tests.step); |
| 28 | | 29 | |
| 29 | const test_step = b.step("test", "Run all library tests"); | 30 | const test_step = b.step("test", "Run all library tests"); |
| 30 | const tests_run = b.addRunArtifact(tests); | 31 | const tests_run = b.addRunArtifact(tests); |