Rollup merge of - bjorn3:riscv64_enable_cg_clif_tests, r=petrochenkov

Enable cg_clif tests for riscv64gc

Cranelift now has support for riscv64 on Linux.
This commit is contained in:
Matthias Krüger 2023-10-26 22:26:10 +02:00 committed by GitHub
commit 596369fea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {