File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
set -x
5
5
6
- CONTAINER=shiftcrypto/firmware_v2:13
6
+ CONTAINER=shiftcrypto/firmware_v2:14
7
7
8
8
if [ " $1 " == " pull" ] ; then
9
9
docker pull " $CONTAINER "
Original file line number Diff line number Diff line change @@ -132,9 +132,11 @@ ENV PATH /opt/lcov-1.14/bin:$PATH
132
132
# Install rust compiler
133
133
ENV PATH /opt/cargo/bin:$PATH
134
134
ENV RUSTUP_HOME=/opt/rustup
135
- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --default-toolchain 1.42.0 -y
135
+ COPY rust-toolchain /tmp/rust-toolchain
136
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --default-toolchain $(cat /tmp/rust-toolchain | tr -d '\r\n\t ' ) -y
136
137
RUN rustup target add thumbv7em-none-eabi
137
- RUN rustup component add rustfmt
138
+ # re-enable and put into CI once available: https://rust-lang.github.io/rustup-components-history/index.html
139
+ # RUN rustup component add rustfmt
138
140
RUN rustup component add clippy
139
141
RUN CARGO_HOME=/opt/cargo cargo install cbindgen --version 0.13.1
140
142
RUN CARGO_HOME=/opt/cargo cargo install bindgen --version 0.53.2
Original file line number Diff line number Diff line change
1
+ nightly-2020-03-25
You can’t perform that action at this time.
0 commit comments