Skip to content

Commit bf8e5a6

Browse files
committed
Use wasip1 target instead
1 parent 77761f3 commit bf8e5a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ci/docker/host-x86_64/pr-check-2/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121
mingw-w64 \
2222
&& rm -rf /var/lib/apt/lists/*
2323

24+
RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/wasi-sdk-27.0-x86_64-linux.tar.gz | \
25+
tar -xz
26+
ENV WASI_SDK_PATH=/wasi-sdk-27.0-x86_64-linux
27+
2428
ENV RUST_CONFIGURE_ARGS="--set rust.validate-mir-opts=3"
2529

2630
COPY scripts/sccache.sh /scripts/
@@ -30,6 +34,7 @@ ENV SCRIPT \
3034
python3 ../x.py check && \
3135
python3 ../x.py clippy ci --stage 2 && \
3236
python3 ../x.py test --stage 1 core alloc std test proc_macro && \
37+
python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-wasip1 && \
3338
python3 ../x.py test --stage 1 src/tools/compiletest && \
3439
python3 ../x.py doc bootstrap --stage 1 && \
3540
# Build both public and internal documentation.

0 commit comments

Comments
 (0)