File tree 5 files changed +8
-2
lines changed
5 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM ubuntu:16.04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev
5
+ RUN curl -sf "https://raw.githubusercontent.com/japaric/rust-everywhere/master/install.sh" | \
6
+ bash -s -- --at /usr/bin --from japaric/xargo --for x86_64-unknown-linux-gnu --tag v0.1.10
5
7
ENV AR_thumbv6m_none_eabi=arm-none-eabi-ar \
6
8
CARGO_TARGET_THUMBV6M_NONE_EABI_LINKER=arm-none-eabi-gcc \
7
9
CC_thumbv6m_none_eabi=arm-none-eabi-gcc \
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM ubuntu:16.04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev
5
+ RUN curl -sf "https://raw.githubusercontent.com/japaric/rust-everywhere/master/install.sh" | \
6
+ bash -s -- --at /usr/bin --from japaric/xargo --tag v0.1.10
5
7
ENV AR_thumbv7em_none_eabi=arm-none-eabi-ar \
6
8
CARGO_TARGET_THUMBV7EM_NONE_EABI_LINKER=arm-none-eabi-gcc \
7
9
CC_thumbv7em_none_eabi=arm-none-eabi-gcc \
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM ubuntu:16.04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev
5
+ RUN curl -sf "https://raw.githubusercontent.com/japaric/rust-everywhere/master/install.sh" | \
6
+ bash -s -- --at /usr/bin --from japaric/xargo --tag v0.1.10
5
7
ENV AR_thumbv7em_none_eabihf=arm-none-eabi-ar \
6
8
CARGO_TARGET_THUMBV7EM_NONE_EABIHF_LINKER=arm-none-eabi-gcc \
7
9
CC_thumbv7em_none_eabihf=arm-none-eabi-gcc \
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ FROM ubuntu:16.04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
ca-certificates curl gcc gcc-arm-none-eabi libc6-dev libcurl4-openssl-dev libssh2-1 libnewlib-dev
5
+ RUN curl -sf "https://raw.githubusercontent.com/japaric/rust-everywhere/master/install.sh" | \
6
+ bash -s -- --at /usr/bin --from japaric/xargo --tag v0.1.10
5
7
ENV AR_thumbv7m_none_eabi=arm-none-eabi-ar \
6
8
CARGO_TARGET_THUMBV7M_NONE_EABI_LINKER=arm-none-eabi-gcc \
7
9
CC_thumbv7m_none_eabi=arm-none-eabi-gcc \
Original file line number Diff line number Diff line change 3
3
# Test our implementation
4
4
case $1 in
5
5
thumb* )
6
- curl -sf " https://raw.githubusercontent.com/japaric/rust-everywhere/master/install.sh" | \
7
- bash -s -- --at /usr/bin --from japaric/xargo --tag v0.1.10
8
6
xargo build --target $1
9
7
xargo build --target $1 --release
10
8
;;
You can’t perform that action at this time.
0 commit comments