This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
docker/host-x86_64/x86_64-gnu-integration Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ RUN sh /scripts/sccache.sh
5252ENV RUST_INSTALL_DIR /checkout/obj/install
5353RUN mkdir -p $RUST_INSTALL_DIR/etc
5454
55+ # Fuchsia only supports LLVM.
56+ ENV CODEGEN_BACKENDS llvm
57+
5558ENV RUST_CONFIGURE_ARGS \
5659 --prefix=$RUST_INSTALL_DIR \
5760 --sysconfdir=etc \
Original file line number Diff line number Diff line change @@ -130,10 +130,10 @@ else
130130 # tests as it will fail them.
131131 if [[ " ${ENABLE_GCC_CODEGEN} " == " 1" ]]; then
132132 # Test the Cranelift and GCC backends in CI. Bootstrap knows which targets to run tests on.
133- RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift,gcc"
133+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=${CODEGEN_BACKENDS :- llvm,cranelift,gcc} "
134134 else
135135 # Test the Cranelift backend in CI. Bootstrap knows which targets to run tests on.
136- RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=llvm,cranelift"
136+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=${CODEGEN_BACKENDS :- llvm,cranelift} "
137137 fi
138138
139139 # We enable this for non-dist builders, since those aren't trying to produce
You can’t perform that action at this time.
0 commit comments