Skip to content

Commit f6a77bc

Browse files
committed
chore: script
1 parent 4b4b434 commit f6a77bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_swift_ffi.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ rustup target add aarch64-apple-ios-sim # iOS Simulator (M1)
3535
rustup target add aarch64-apple-ios # iOS Device
3636
rustup target add aarch64-apple-darwin # macOS ARM/M1
3737
rustup target add x86_64-apple-darwin # macOS Intel/x86
38-
rustup target add wasm32-wasi # WebAssembly
38+
rustup target add wasm32-wasip1 # WebAssembly
3939

4040
cargo_build="cargo build --manifest-path $RUST_FOLDER/Cargo.toml --features cli"
4141
cargo_build_nightly="cargo +${RUST_NIGHTLY} build --manifest-path $RUST_FOLDER/Cargo.toml --features cli"
@@ -94,8 +94,8 @@ $cargo_build_nightly -Z build-std --target aarch64-apple-ios-macabi --locked --r
9494
echo "▸ Building for x86_64-apple-ios-macabi"
9595
$cargo_build_nightly -Z build-std --target x86_64-apple-ios-macabi --locked --release
9696

97-
echo "▸ Building for wasm32-wasi"
98-
$cargo_build --target wasm32-wasi --locked --release
97+
echo "▸ Building for wasm32-wasip1"
98+
$cargo_build --target wasm32-wasip1 --locked --release
9999

100100
# echo "▸ Consolidating the headers and modulemaps for XCFramework generation"
101101
# copies the generated header from AutomergeUniffi/automergeFFI.h to

0 commit comments

Comments
 (0)