Skip to content

Commit 59a8618

Browse files
committed
Use wasip1 target instead
1 parent 2cbb059 commit 59a8618

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

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

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

2731
COPY scripts/sccache.sh /scripts/
@@ -31,7 +35,7 @@ ENV SCRIPT \
3135
python3 ../x.py check && \
3236
python3 ../x.py clippy ci --stage 2 && \
3337
python3 ../x.py test --stage 1 core alloc std test proc_macro && \
34-
python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-unknown-unknown && \
38+
python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-wasip1 && \
3539
python3 ../x.py test --stage 1 src/tools/compiletest && \
3640
python3 ../x.py doc bootstrap --stage 1 && \
3741
# Build both public and internal documentation.

0 commit comments

Comments
 (0)