fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1FROM ubuntu:16.04 2 3COPY scripts/cross-apt-packages.sh /scripts/ 4RUN sh /scripts/cross-apt-packages.sh 5 6COPY dist-x86_64-netbsd/build-netbsd-toolchain.sh /tmp/ 7RUN /tmp/build-netbsd-toolchain.sh 8 9COPY scripts/sccache.sh /scripts/ 10RUN sh /scripts/sccache.sh 11 12ENV PATH=$PATH:/x-tools/x86_64-unknown-netbsd/bin 13 14ENV \ 15 AR_x86_64_unknown_netbsd=x86_64--netbsd-ar \ 16 CC_x86_64_unknown_netbsd=x86_64--netbsd-gcc-sysroot \ 17 CXX_x86_64_unknown_netbsd=x86_64--netbsd-g++-sysroot 18 19ENV HOSTS=x86_64-unknown-netbsd 20 21ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs 22ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS