@@ -34,6 +34,11 @@ COPY dist-various-2/build-x86_64-fortanix-unknown-sgx-toolchain.sh /tmp/
34
34
# Any update to the commit id here, should cause the container image to be re-built from this point on.
35
35
RUN /tmp/build-x86_64-fortanix-unknown-sgx-toolchain.sh "53b586346f2c7870e20b170decdc30729d97c42b"
36
36
37
+ COPY dist-various-2/build-wasi-toolchain.sh /tmp/
38
+ # FIXME: remove this line and uncomment the git clone
39
+ COPY dist-various-2/reference-sysroot-wasi/ /tmp/wut/
40
+ RUN /tmp/build-wasi-toolchain.sh
41
+
37
42
COPY scripts/sccache.sh /scripts/
38
43
RUN sh /scripts/sccache.sh
39
44
@@ -66,6 +71,7 @@ ENV TARGETS=x86_64-fuchsia
66
71
ENV TARGETS=$TARGETS,aarch64-fuchsia
67
72
ENV TARGETS=$TARGETS,sparcv9-sun-solaris
68
73
ENV TARGETS=$TARGETS,wasm32-unknown-unknown
74
+ ENV TARGETS=$TARGETS,wasm32-unknown-wasi
69
75
ENV TARGETS=$TARGETS,x86_64-sun-solaris
70
76
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnux32
71
77
ENV TARGETS=$TARGETS,x86_64-unknown-cloudabi
@@ -74,5 +80,6 @@ ENV TARGETS=$TARGETS,nvptx64-nvidia-cuda
74
80
75
81
ENV X86_FORTANIX_SGX_LIBS="/x86_64-fortanix-unknown-sgx/lib/"
76
82
77
- ENV RUST_CONFIGURE_ARGS --enable-extended --enable-lld --disable-docs
83
+ ENV RUST_CONFIGURE_ARGS --enable-extended --enable-lld --disable-docs \
84
+ --set target.wasm32-unknown-wasi.wasi-root=/wasm32-unknown-wasi
78
85
ENV SCRIPT python2.7 ../x.py dist --target $TARGETS
0 commit comments