fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1FROM ubuntu:16.04 2 3RUN apt-get update && apt-get install -y --no-install-recommends \ 4 g++ \ 5 make \ 6 file \ 7 curl \ 8 ca-certificates \ 9 python \ 10 git \ 11 cmake \ 12 sudo \ 13 gdb \ 14 xz-utils \ 15 jq \ 16 bzip2 17 18# emscripten 19COPY scripts/emscripten-wasm.sh /scripts/ 20COPY wasm32-exp/node.sh /usr/local/bin/node 21RUN bash /scripts/emscripten-wasm.sh 22 23# cache 24COPY scripts/sccache.sh /scripts/ 25RUN sh /scripts/sccache.sh 26 27# env 28ENV PATH=/wasm-install/emscripten:/wasm-install/bin:$PATH 29ENV EM_CONFIG=/root/.emscripten 30 31ENV TARGETS=wasm32-experimental-emscripten 32 33ENV RUST_CONFIGURE_ARGS --experimental-targets=WebAssembly 34 35ENV SCRIPT python2.7 ../x.py test --target $TARGETS