Skip to content

Commit

Permalink
try mac catalyst target for rust if platform is macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
satindergrewal committed Jun 21, 2021
1 parent 6d29b76 commit 01b6ed0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Scripts/build_librustzcash_xcode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ echo "Building Rust backend"
echo ""
echo "platform name"
echo $PLATFORM_NAME
if [ $PLATFORM_NAME = "iphonesimulator" -o $PLATFORM_NAME = "macosx" ]; then
if [ $PLATFORM_NAME = "iphonesimulator" ]; then
ZCASH_ACTIVE_ARCHITECTURE="x86_64-apple-ios"
elif [ $PLATFORM_NAME = "macosx" ]; then
ZCASH_ACTIVE_ARCHITECTURE="aarch64-apple-ios-macabi"
else
ZCASH_ACTIVE_ARCHITECTURE="aarch64-apple-ios"
fi
Expand Down

0 comments on commit 01b6ed0

Please sign in to comment.