build: state rust targets explicitly in swift build script

This commit is contained in:
thunderbiscuit 2023-11-21 14:48:49 -05:00
parent 24e09a40cb
commit 0c0dfd5f42
No known key found for this signature in database
GPG Key ID: 88253696EB836462

View File

@ -7,9 +7,11 @@
rustup install 1.73.0
rustup component add rust-src
rustup target add aarch64-apple-ios x86_64-apple-ios
rustup target add aarch64-apple-ios-sim
rustup target add aarch64-apple-darwin x86_64-apple-darwin
rustup target add aarch64-apple-ios # iOS ARM64
rustup target add x86_64-apple-ios # iOS x86_64
rustup target add aarch64-apple-ios-sim # simulator mac M1
rustup target add aarch64-apple-darwin # mac M1
rustup target add x86_64-apple-darwin # mac x86_64
pushd bdk-ffi
mkdir -p Sources/BitcoinDevKit