Skip to content

Commit 6328b94

Browse files
committed
Merge branch 'fix-ios-rust-buildscript'
2 parents d50f11e + f1f3d2f commit 6328b94

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ios.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- .github/workflows/ios.yml
7+
- ios/build-rust-library.sh
78
- ios/.swiftformat
89
- ios/**/*.swift
910
- ios/**/*.xctestplan

ios/build-rust-library.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ for arch in $ARCHS; do
4343

4444
# Intel iOS simulator
4545
export CFLAGS_x86_64_apple_ios="-target x86_64-apple-ios"
46-
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib "$RELFLAG" --target x86_64-apple-ios
46+
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib $RELFLAG --target x86_64-apple-ios
4747
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib --target x86_64-apple-ios
4848
;;
4949

5050
arm64)
5151
if [ $IS_SIMULATOR -eq 0 ]; then
5252
# Hardware iOS targets
53-
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib "$RELFLAG" --target aarch64-apple-ios
53+
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib $RELFLAG --target aarch64-apple-ios
5454
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib --target aarch64-apple-ios
5555
else
56-
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib "$RELFLAG" --target aarch64-apple-ios-sim
56+
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib $RELFLAG --target aarch64-apple-ios-sim
5757
"$HOME"/.cargo/bin/cargo build -p "$FFI_TARGET" --lib --target aarch64-apple-ios-sim
5858
fi
5959
esac

0 commit comments

Comments
 (0)