Skip to content

Commit

Permalink
Use --targets instead of --target
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld committed Apr 10, 2024
1 parent 1b88d8e commit 26138fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ RUN set -eux; \
RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) set -- --target x86_64-unknown-linux-gnu --target x86_64-unknown-linux-musl ;; \
arm64) set -- --target aarch64-unknown-linux-gnu --target aarch64-unknown-linux-musl ;; \
amd64) set -- --targets x86_64-unknown-linux-gnu --targets x86_64-unknown-linux-musl ;; \
arm64) set -- --targets aarch64-unknown-linux-gnu --targets aarch64-unknown-linux-musl ;; \
*) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; \
esac; \
cargo binstall "$@" --no-confirm \
Expand Down

0 comments on commit 26138fa

Please sign in to comment.