File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,13 @@ else
126126
127127 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.verify-llvm-ir"
128128
129- # Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
130- RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
129+ if [[ " ${SKIP_CODEGEN_TESTS} " == " 1" ]]; then
130+ # Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
131+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
132+ else
133+ # Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on.
134+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
135+ fi
131136
132137 # We enable this for non-dist builders, since those aren't trying to produce
133138 # fresh binaries. We currently don't entirely support distributing a fresh
You can’t perform that action at this time.
0 commit comments