@@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1818 xz-utils \
1919 libssl-dev \
2020 pkg-config \
21+ strace \
2122 mingw-w64 \
2223 && rm -rf /var/lib/apt/lists/*
2324
@@ -31,21 +32,6 @@ COPY scripts/sccache.sh /scripts/
3132RUN sh /scripts/sccache.sh
3233
3334ENV SCRIPT \
34- python3 ../x.py check && \
35- python3 ../x.py clippy ci --stage 2 && \
36- python3 ../x.py test --stage 1 core alloc std test proc_macro && \
37- # Elsewhere, we run all tests for the host. A number of codegen tests are sensitive to the target pointer
38- # width, for example because they mention a usize. wasm32-wasip1 in test-various, so using it here can't make
39- # PR CI more strict than full CI.
40- python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-wasip1 && \
41- python3 ../x.py test --stage 1 src/tools/compiletest && \
42- python3 ../x.py doc bootstrap --stage 1 && \
43- # Build both public and internal documentation.
44- RUSTDOCFLAGS=\" --document-private-items --document-hidden-items\" python3 ../x.py doc compiler --stage 1 && \
45- RUSTDOCFLAGS=\" --document-private-items --document-hidden-items\" python3 ../x.py doc library --stage 1 && \
46- mkdir -p /checkout/obj/staging/doc && \
47- cp -r build/x86_64-unknown-linux-gnu/doc /checkout/obj/staging && \
48- RUSTDOCFLAGS=\" --document-private-items --document-hidden-items\" python3 ../x.py doc library/test --stage 1 && \
49- # The BOOTSTRAP_TRACING flag is added to verify whether the
50- # bootstrap process compiles successfully with this flag enabled.
51- BOOTSTRAP_TRACING=1 python3 ../x.py --help
35+ ldd --version && \
36+ python3 ../x.py test --stage 1 std -- "write_at" || \
37+ strace -ffe write,pwritev2,pwrite64,pwritev python3 ../x.py test --stage 1 std -- "write_at"
0 commit comments