Skip to content

Commit

Permalink
Rollup merge of #117032 - bjorn3:riscv64_enable_cg_clif_tests, r=petr…
Browse files Browse the repository at this point in the history
…ochenkov

Enable cg_clif tests for riscv64gc

Cranelift now has support for riscv64 on Linux.
  • Loading branch information
matthiaskrgr committed Oct 26, 2023
2 parents 934cbe4 + 8716890 commit 596369f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,10 @@ impl Step for CodegenCranelift {

let triple = run.target.triple;
let target_supported = if triple.contains("linux") {
triple.contains("x86_64") || triple.contains("aarch64") || triple.contains("s390x")
triple.contains("x86_64")
|| triple.contains("aarch64")
|| triple.contains("s390x")
|| triple.contains("riscv64gc")
} else if triple.contains("darwin") || triple.contains("windows") {
triple.contains("x86_64")
} else {
Expand Down

0 comments on commit 596369f

Please sign in to comment.