From 0b4bdc6c2e9cd01d330b90c80229b3aeda0da55f Mon Sep 17 00:00:00 2001 From: Niven Date: Wed, 26 Jul 2023 13:05:16 +0800 Subject: [PATCH] Fixes to rust triplet target --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index c95f844d76..99728da07f 100755 --- a/make.sh +++ b/make.sh @@ -1013,8 +1013,8 @@ get_rust_triplet() { x86_64-pc-linux-gnu) result=x86_64-unknown-linux-gnu;; aarch64-linux-gnu|aarch64-unknown-linux-gnu) result=aarch64-unknown-linux-gnu;; arm-linux-gnueabihf|arm-unknown-linux-gnueabihf) result=armv7-unknown-linux-gnueabihf;; - x86_64-apple-darwin) result=x86_64-apple-darwin;; - aarch64-apple-darwin) result=aarch64-apple-darwin;; + x86_64-apple-darwin*) result=x86_64-apple-darwin;; + aarch64-apple-darwin*) result=aarch64-apple-darwin;; x86_64-w64-mingw32) result=x86_64-pc-windows-gnu;; *) echo "error: unsupported triplet: ${triplet}"; exit 1;; esac