mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
cc7590341a
This commit deletes the `alloc_system` crate from the standard distribution. This unstable crate is no longer needed in the modern stable global allocator world, but rather its functionality is folded directly into the standard library. The standard library was already the only stable location to access this crate, and as a result this should not affect any stable code.
42 lines
977 B
Docker
42 lines
977 B
Docker
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
g++ \
|
|
make \
|
|
file \
|
|
curl \
|
|
ca-certificates \
|
|
python \
|
|
git \
|
|
cmake \
|
|
sudo \
|
|
gdb \
|
|
xz-utils
|
|
|
|
RUN curl -sL https://nodejs.org/dist/v9.2.0/node-v9.2.0-linux-x64.tar.xz | \
|
|
tar -xJ
|
|
|
|
COPY scripts/sccache.sh /scripts/
|
|
RUN sh /scripts/sccache.sh
|
|
|
|
ENV TARGETS=wasm32-unknown-unknown
|
|
|
|
ENV RUST_CONFIGURE_ARGS \
|
|
--set build.nodejs=/node-v9.2.0-linux-x64/bin/node \
|
|
--set rust.lld
|
|
|
|
# Some run-make tests have assertions about code size, and enabling debug
|
|
# assertions in libstd causes the binary to be much bigger than it would
|
|
# otherwise normally be. We already test libstd with debug assertions in lots of
|
|
# other contexts as well
|
|
ENV NO_DEBUG_ASSERTIONS=1
|
|
|
|
ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \
|
|
src/test/run-make \
|
|
src/test/ui \
|
|
src/test/run-pass \
|
|
src/test/compile-fail \
|
|
src/test/mir-opt \
|
|
src/test/codegen-units \
|
|
src/libcore \
|