3992ed1e7a
- add #[no_mangle] to the panic_fmt lang item to adjust to changes in the visibility algorithm - adjust to changes in the layout of Cargo's target directory - use a newer Xargo to reduce the build time of the sysroot (only core is compiled as part of the sysroot now)
10 lines
512 B
Docker
10 lines
512 B
Docker
FROM ubuntu:16.04
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev
|
|
RUN curl -LSfs https://japaric.github.io/trust/install.sh | \
|
|
sh -s -- --git japaric/xargo --tag v0.3.1 --target x86_64-unknown-linux-gnu --to /usr/bin
|
|
ENV AR_thumbv7em_none_eabihf=arm-none-eabi-ar \
|
|
CARGO_TARGET_THUMBV7EM_NONE_EABIHF_LINKER=arm-none-eabi-gcc \
|
|
CC_thumbv7em_none_eabihf=arm-none-eabi-gcc \
|