We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12680b9 commit 6801a49Copy full SHA for 6801a49
tool/build_wasm.sh
@@ -31,13 +31,13 @@ cp "target/wasm32-unknown-emscripten/wasm_asyncify/powersync.wasm" "libpowersync
31
# Static lib.
32
# Works for both sync and asyncify builds.
33
# Works for both emscripten and wasi.
34
-# target/wasm32-wasi/wasm/libpowersync.a
+# target/wasm32-wasip1/wasm/libpowersync.a
35
cargo build \
36
-p powersync_loadable \
37
--profile wasm \
38
--no-default-features \
39
--features "powersync_core/static powersync_core/omit_load_extension sqlite_nostd/omit_load_extension" \
40
-Z build-std=panic_abort,core,alloc \
41
- --target wasm32-wasi
+ --target wasm32-wasip1
42
43
-cp "target/wasm32-wasi/wasm/libpowersync.a" "libpowersync-wasm.a"
+cp "target/wasm32-wasip1/wasm/libpowersync.a" "libpowersync-wasm.a"
0 commit comments