Skip to content

Commit

Permalink
help out rust
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 committed Oct 9, 2023
1 parent 1157701 commit fd99973
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ RUN wget https://musl.cc/aarch64-linux-musl-cross.tgz -O - | tar -xz -C /opt/cro

# rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
ENV PATH="/root/.cargo/bin:${PATH}"
# XXX: pin rust version to 1.71 until we figure out a workaround for mips linux being demoted to tier 3
RUN rustup toolchain install 1.71 --allow-downgrade --profile minimal # Now install 1.71
RUN rustup override set 1.71 # and switch to it
# Cross tools
RUN rustup target add x86_64-unknown-linux-musl && \
rustup target add mips-unknown-linux-musl && \
Expand Down

0 comments on commit fd99973

Please sign in to comment.