Skip to content

Commit a209943

Browse files
committed
enable in-tree std on some runners
Signed-off-by: onur-ozkan <[email protected]>
1 parent 4d0260b commit a209943

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ RUN sh /scripts/sccache.sh
7070
# Fix rustc_codegen_gcc lto issues.
7171
ENV GCC_EXEC_PREFIX="/usr/lib/gcc/"
7272

73+
ENV USE_IN_TREE_LIBTEST_ON_COMPILETEST 1
74+
7375
COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
7476

7577
COPY scripts/nodejs.sh /scripts/

src/ci/run.sh

+5
Original file line numberDiff line numberDiff 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"
137138
else
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
189194
fi
190195

191196
if [ "$ENABLE_GCC_CODEGEN" = "1" ]; then

0 commit comments

Comments
 (0)