| ... | @@ -36,6 +36,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -36,6 +36,7 @@ pub fn build(b: *std.Build) void { |
| 36 | deps.addAllTo(tests); | 36 | deps.addAllTo(tests); |
| 37 | tests.use_llvm = !disable_llvm; | 37 | tests.use_llvm = !disable_llvm; |
| 38 | tests.use_lld = !disable_llvm; | 38 | tests.use_lld = !disable_llvm; |
| | 39 | b.getInstallStep().dependOn(&tests.step); |
| 39 | | 40 | |
| 40 | const test_step = b.step("test", "Run all library tests"); | 41 | const test_step = b.step("test", "Run all library tests"); |
| 41 | const tests_run = b.addRunArtifact(tests); | 42 | const tests_run = b.addRunArtifact(tests); |