summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-02-14 19:39:39 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-09-10 15:56:56 +0000
commit238d8e3ec79bfc428cb60c64d88ad38bb38a1bd5 (patch)
tree47b4bd8e0a3f4a50189f263b9d91befb70a1735b /src/ci
parent01ce2d0ea18bb48d4eb03d7b4b13ed7fd394b1e5 (diff)
downloadrust-238d8e3ec79bfc428cb60c64d88ad38bb38a1bd5.tar.gz
rust-238d8e3ec79bfc428cb60c64d88ad38bb38a1bd5.zip
Allow testing cg_clif using ./x.py test
Diffstat (limited to 'src/ci')
-rwxr-xr-xsrc/ci/run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index b8cb758bf40..98f2cdac5dc 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -123,6 +123,9 @@ else
 
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.verify-llvm-ir"
 
+  # Test the Cranelift backend in on CI, but don't ship it.
+  RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
+
   # We enable this for non-dist builders, since those aren't trying to produce
   # fresh binaries. We currently don't entirely support distributing a fresh
   # copy of the compiler (including llvm tools, etc.) if we haven't actually