about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-26 22:26:10 +0200
committerGitHub <noreply@github.com>2023-10-26 22:26:10 +0200
commit596369fea049f2ca85234f6c1e646ee4fc5afefc (patch)
tree1ffa250d90bfd205759de77f3170931134f6802f /src/bootstrap
parent934cbe4637d832ec36f22981d33dc549d19d6d39 (diff)
parent87168909b0ad24ef82066480768e2cabd7fd600d (diff)
downloadrust-596369fea049f2ca85234f6c1e646ee4fc5afefc.tar.gz
rust-596369fea049f2ca85234f6c1e646ee4fc5afefc.zip
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.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/build_steps/test.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs
index 831a86940fb..fa35fff333e 100644
--- a/src/bootstrap/src/core/build_steps/test.rs
+++ b/src/bootstrap/src/core/build_steps/test.rs
@@ -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 {