Skip to content

Commit

Permalink
Unrolled build for rust-lang#117032
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rust-timer committed Oct 27, 2023
2 parents aa1a71e + 8716890 commit 18a17be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Expand Up @@ -3000,7 +3000,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 18a17be

Please sign in to comment.