From 01a8adaf8bbfa8f2157710976230de03bf5a511c Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Thu, 28 Nov 2024 16:10:05 +0100 Subject: [PATCH 1/2] use dinghy from tgz on arm darwin too --- .travis/cross.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/cross.sh b/.travis/cross.sh index bc70e10e39..0fa6b03e65 100755 --- a/.travis/cross.sh +++ b/.travis/cross.sh @@ -31,7 +31,7 @@ PATH=$PATH:$HOME/.cargo/bin which rustup || curl https://sh.rustup.rs -sSf | sh -s -- -y which cargo-dinghy || ( mkdir -p /tmp/cargo-dinghy -if [ `arch` = x86_64 -o `arch` = i386 ] +if [ `arch` = x86_64 -o `arch` = i386 -o `arch` = arm64 ] then cd /tmp/cargo-dinghy if [ `uname` = "Darwin" ] From 67539777041848b53c586e2d7f8aec018b420161 Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Thu, 28 Nov 2024 16:12:58 +0100 Subject: [PATCH 2/2] bump dinghy --- .travis/cross.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/cross.sh b/.travis/cross.sh index 0fa6b03e65..bf485caa7e 100755 --- a/.travis/cross.sh +++ b/.travis/cross.sh @@ -40,7 +40,7 @@ then else NAME=linux fi - VERSION=0.6.4 + VERSION=0.8.0 wget -q https://github.com/snipsco/dinghy/releases/download/$VERSION/cargo-dinghy-$NAME-$VERSION.tgz -O cargo-dinghy.tgz tar vzxf cargo-dinghy.tgz --strip-components 1 mv cargo-dinghy $HOME/.cargo/bin