File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
docker/host-x86_64/x86_64-gnu-tools Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ RUN sh /scripts/sccache.sh
7070# Fix rustc_codegen_gcc lto issues.
7171ENV GCC_EXEC_PREFIX="/usr/lib/gcc/"
7272
73+ ENV USE_IN_TREE_LIBTEST_ON_COMPILETEST 1
74+
7375COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
7476
7577COPY scripts/nodejs.sh /scripts/
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
134134
135135 CODEGEN_BACKENDS=" ${CODEGEN_BACKENDS:- llvm} "
136136 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.codegen-backends=$CODEGEN_BACKENDS "
137+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set build.compiletest-use-stage0-libtest=false"
137138else
138139 # We almost always want debug assertions enabled, but sometimes this takes too
139140 # long for too little benefit, so we just turn them off.
@@ -186,6 +187,10 @@ else
186187 if [ " $NO_DOWNLOAD_CI_RUSTC " = " " ]; then
187188 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.download-rustc=if-unchanged"
188189 fi
190+
191+ if [ " $USE_IN_TREE_LIBTEST_ON_COMPILETEST " = " 1" ]; then
192+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set build.compiletest-use-stage0-libtest=false"
193+ fi
189194fi
190195
191196if [ " $ENABLE_GCC_CODEGEN " = " 1" ]; then
You can’t perform that action at this time.
0 commit comments