File tree 2 files changed +5
-2
lines changed
docker/host-x86_64/x86_64-gnu-integration
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
52
52
ENV RUST_INSTALL_DIR /checkout/obj/install
53
53
RUN mkdir -p $RUST_INSTALL_DIR/etc
54
54
55
+ # Fuchsia only supports LLVM.
56
+ ENV CODEGEN_BACKENDS llvm
57
+
55
58
ENV RUST_CONFIGURE_ARGS \
56
59
--prefix=$RUST_INSTALL_DIR \
57
60
--sysconfdir=etc \
Original file line number Diff line number Diff line change @@ -130,10 +130,10 @@ else
130
130
# tests as it will fail them.
131
131
if [[ " ${ENABLE_GCC_CODEGEN} " == " 1" ]]; then
132
132
# 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} "
134
134
else
135
135
# 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} "
137
137
fi
138
138
139
139
# 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