| ... | ... | @@ -25,6 +25,11 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step { |
| 25 | 25 | .os_tag = .linux, |
| 26 | 26 | .abi = .musl, |
| 27 | 27 | }); |
| 28 | const riscv64_musl = b.resolveTargetQuery(.{ |
| 29 | .cpu_arch = .riscv64, |
| 30 | .os_tag = .linux, |
| 31 | .abi = .musl, |
| 32 | }); |
| 28 | 33 | |
| 29 | 34 | // x86_64 tests |
| 30 | 35 | // Exercise linker in -r mode |
| ... | ... | @@ -138,6 +143,9 @@ pub fn testAll(b: *Build, build_opts: BuildOptions) *Step { |
| 138 | 143 | // aarch64 tests |
| 139 | 144 | elf_step.dependOn(testLinkingC(b, .{ .target = aarch64_musl })); |
| 140 | 145 | |
| 146 | // riscv64 tests |
| 147 | elf_step.dependOn(testLinkingC(b, .{ .target = riscv64_musl })); |
| 148 | |
| 141 | 149 | return elf_step; |
| 142 | 150 | } |
| 143 | 151 | |