3 RUN apt-get update && apt-get install -y --no-install-recommends \
20 COPY scripts/sccache.sh /scripts/
21 RUN sh /scripts/sccache.sh
23 COPY scripts/cmake.sh /scripts/
27 RUN echo "[rust]" > /config/nopt-std-config.toml
28 RUN echo "optimize = false" >> /config/nopt-std-config.toml
30 # We are intentionally allowing an old toolchain on this builder (and that's
31 # incompatible with LLVM downloads today).
32 ENV NO_DOWNLOAD_CI_LLVM 1
34 ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests \
35 --set llvm.allow-old-toolchain
36 ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
37 && python3 ../x.py --stage 2 test