]> git.lizzy.rs Git - rust.git/blobdiff - src/ci/docker/host-x86_64/i686-gnu-nopt/Dockerfile
Rollup merge of #75485 - RalfJung:pin, r=nagisa
[rust.git] / src / ci / docker / host-x86_64 / i686-gnu-nopt / Dockerfile
index 6a596b3465f20da7e0b22843b63871fb89c1daf9..cb507dced4248c22c87c95be88e528b938038432 100644 (file)
@@ -19,8 +19,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 COPY scripts/sccache.sh /scripts/
 RUN sh /scripts/sccache.sh
 
+RUN mkdir -p /config
+RUN echo "[rust]" > /config/nopt-std-config.toml
+RUN echo "optimize = false" >> /config/nopt-std-config.toml
+
 ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests
-ENV SCRIPT python3 ../x.py --stage 2 test
+ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
+  && python3 ../x.py --stage 2 test
 
 # FIXME(#59637) takes too long on CI right now
 ENV NO_LLVM_ASSERTIONS=1 NO_DEBUG_ASSERTIONS=1