Skip to content

Commit 18a17be

Browse files
authored
Unrolled build for rust-lang#117032
Rollup merge of rust-lang#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 aa1a71e + 8716890 commit 18a17be

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
@@ -3000,7 +3000,10 @@ impl Step for CodegenCranelift {
30003000

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

0 commit comments

Comments
 (0)