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