Skip to content

Commit 770930c

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

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/bootstrap/defaults/bootstrap.dist.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ test-stage = 2
77
doc-stage = 2
88
# When compiling from source, you usually want all tools.
99
extended = true
10+
# Use libtest built from the source tree instead of the precompiled one from stage 0.
11+
compiletest-use-stage0-libtest=false
1012

1113
# Most users installing from source want to build all parts of the project from source.
1214
[llvm]

src/ci/docker/host-x86_64/mingw-check/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
4747
ENV SCRIPT \
4848
python3 ../x.py check --stage 0 --set build.optimized-compiler-builtins=false core alloc std --target=aarch64-unknown-linux-gnu,i686-pc-windows-msvc,i686-unknown-linux-gnu,x86_64-apple-darwin,x86_64-pc-windows-gnu,x86_64-pc-windows-msvc && \
4949
/scripts/check-default-config-profiles.sh && \
50+
python3 ../x.py check compiletest --set build.compiletest-use-stage0-libtest=true && \
5051
python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu && \
5152
python3 ../x.py clippy ci && \
5253
python3 ../x.py build --stage 0 src/tools/build-manifest && \

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,5 @@ COPY scripts/shared.sh /scripts/
101101
# the local version of the package is different than the one used by the CI.
102102
ENV SCRIPT /tmp/checktools.sh ../x.py && \
103103
npm install browser-ui-test@$(head -n 1 /tmp/browser-ui-test.version) --unsafe-perm=true && \
104+
python3 ../x.py check compiletest --set build.compiletest-use-stage0-libtest=true && \
104105
python3 ../x.py test tests/rustdoc-gui --stage 2 --test-args "'--jobs 1'"

0 commit comments

Comments
 (0)