Skip to content

Commit

Permalink
Merge branch 'rust-nightly'
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Mar 25, 2020
2 parents d33f1d2 + fa18067 commit 0b15e7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/travis-ci
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
set -x

CONTAINER=shiftcrypto/firmware_v2:13
CONTAINER=shiftcrypto/firmware_v2:14

if [ "$1" == "pull" ] ; then
docker pull "$CONTAINER"
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,11 @@ ENV PATH /opt/lcov-1.14/bin:$PATH
# Install rust compiler
ENV PATH /opt/cargo/bin:$PATH
ENV RUSTUP_HOME=/opt/rustup
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --default-toolchain 1.42.0 -y
COPY rust-toolchain /tmp/rust-toolchain
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
RUN rustup target add thumbv7em-none-eabi
RUN rustup component add rustfmt
# re-enable and put into CI once available: https://rust-lang.github.io/rustup-components-history/index.html
# RUN rustup component add rustfmt
RUN rustup component add clippy
RUN CARGO_HOME=/opt/cargo cargo install cbindgen --version 0.13.1
RUN CARGO_HOME=/opt/cargo cargo install bindgen --version 0.53.2
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly-2020-03-25

0 comments on commit 0b15e7d

Please sign in to comment.