Skip to content

Commit 15813cf

Browse files
committed
enable validate-mir-opts in mingw-check
1 parent 34813e2 commit 15813cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2323

2424
RUN curl -sL https://nodejs.org/dist/v16.9.0/node-v16.9.0-linux-x64.tar.xz | tar -xJ
2525
ENV PATH="/node-v16.9.0-linux-x64/bin:${PATH}"
26+
ENV RUST_CONFIGURE_ARGS="--set rust.validate-mir-opts=3"
27+
2628
# Install es-check
2729
# Pin its version to prevent unrelated CI failures due to future es-check versions.
2830
@@ -39,7 +41,7 @@ COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
3941
ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
4042
ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
4143
python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu --all-targets && \
42-
python3 ../x.py build --stage 0 src/tools/build-manifest && \
44+
python3 ../x.py build --stage 0 src/tools/build-manifest library/std && \
4345
python3 ../x.py test --stage 0 src/tools/compiletest && \
4446
python3 ../x.py test --stage 0 core alloc std test proc_macro && \
4547
# Build both public and internal documentation.

src/ci/run.sh

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
5858
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-locked-deps"
5959
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-cargo-native-static"
6060
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-units-std=1"
61-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.validate-mir-opts=3"
6261

6362
# Only produce xz tarballs on CI. gz tarballs will be generated by the release
6463
# process by recompressing the existing xz ones. This decreases the storage

0 commit comments

Comments
 (0)