Skip to content

Commit 596369f

Browse files
authored
Rollup merge of #117032 - bjorn3:riscv64_enable_cg_clif_tests, r=petrochenkov
Enable cg_clif tests for riscv64gc Cranelift now has support for riscv64 on Linux.
2 parents 934cbe4 + 8716890 commit 596369f

File tree

1 file changed

+4
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+4
-1
lines changed

src/bootstrap/src/core/build_steps/test.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -2999,7 +2999,10 @@ impl Step for CodegenCranelift {
29992999

30003000
let triple = run.target.triple;
30013001
let target_supported = if triple.contains("linux") {
3002-
triple.contains("x86_64") || triple.contains("aarch64") || triple.contains("s390x")
3002+
triple.contains("x86_64")
3003+
|| triple.contains("aarch64")
3004+
|| triple.contains("s390x")
3005+
|| triple.contains("riscv64gc")
30033006
} else if triple.contains("darwin") || triple.contains("windows") {
30043007
triple.contains("x86_64")
30053008
} else {

0 commit comments

Comments
 (0)