3 # Avoid interactive prompts while installing `tzdata` dependency with `DEBIAN_FRONTEND`.
4 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
20 COPY scripts/sccache.sh /scripts/
21 RUN sh /scripts/sccache.sh
24 RUN echo "[rust]" > /config/nopt-std-config.toml
25 RUN echo "optimize = false" >> /config/nopt-std-config.toml
27 ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu \
28 --disable-optimize-tests \
29 --set rust.test-compare-mode
30 ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
31 && python3 ../x.py --stage 2 test