Fix invalid enabling of gcc backend in run.sh

This commit is contained in:
Guillaume Gomez 2023-11-02 13:54:40 +01:00
parent a141b6975b
commit 2dbe7d8d5b
2 changed files with 3 additions and 3 deletions

View File

@ -331,9 +331,9 @@ jobs:
<<: *job-linux-4c
- name: x86_64-gnu-llvm-15
<<: *job-linux-16c
env:
ENABLE_GCC_CODEGEN: "1"
<<: *job-linux-16c
- name: x86_64-gnu-tools
<<: *job-linux-16c

View File

@ -128,10 +128,10 @@ else
if [[ "${ENABLE_GCC_CODEGEN}" == "1" ]]; then
# Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
else
# Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on.
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
fi
# We enable this for non-dist builders, since those aren't trying to produce