Files
Archive/yass/scripts/setup-ios-rust.sh
2024-09-05 20:35:34 +02:00

22 lines
381 B
Bash
Executable File

#!/bin/bash
set -e
set -x
if [ -z "$(which rustup)" ]; then
echo "rustup not found"
exit -1
fi
echo "Adding rustup toolchain..."
rustup toolchain install 1.80.1
rustup default 1.80.1
echo "Adding rustup toolchain...done"
echo "Adding rustup ios target..."
rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
echo "Adding rustup ios target...done"