File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ $UNIFFI_BINDGEN_BIN generate bindings/ldk_node.udl --language swift -o "$BINDING
88mkdir -p $BINDINGS_DIR
99
1010# Install rust target toolchains
11- rustup install nightly-2023-04-10
12- rustup component add rust-src --toolchain nightly-2023-04-10
13- rustup target add aarch64-apple-ios x86_64-apple-ios
14- rustup target add aarch64-apple-ios-sim --toolchain nightly-2023-04-10
15- rustup target add aarch64-apple-darwin x86_64-apple-darwin
11+ rustup install 1.73.0
12+ rustup component add rust-src --toolchain 1.73.0
13+ rustup target add aarch64-apple-ios x86_64-apple-ios --toolchain 1.73.0
14+ rustup target add aarch64-apple-ios-sim --toolchain 1.73.0
15+ rustup target add aarch64-apple-darwin x86_64-apple-darwin --toolchain 1.73.0
1616
1717# Build rust target libs
1818cargo build --profile release-smaller --features uniffi || exit 1
1919cargo build --profile release-smaller --features uniffi --target x86_64-apple-darwin || exit 1
2020cargo build --profile release-smaller --features uniffi --target aarch64-apple-darwin || exit 1
2121cargo build --profile release-smaller --features uniffi --target x86_64-apple-ios || exit 1
2222cargo build --profile release-smaller --features uniffi --target aarch64-apple-ios || exit 1
23- cargo +nightly-2023-04-10 build --release --features uniffi --target aarch64-apple-ios-sim || exit 1
23+ cargo +1.73.0 build --release --features uniffi --target aarch64-apple-ios-sim || exit 1
2424
2525# Combine ios-sim and apple-darwin (macos) libs for x86_64 and aarch64 (m1)
2626mkdir -p target/lipo-ios-sim/release-smaller || exit 1
You can’t perform that action at this time.
0 commit comments