mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
22 lines
381 B
Bash
Executable File
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.78.0
|
|
rustup default 1.78.0
|
|
|
|
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"
|