Skip to content

Commit 1b5fd94

Browse files
committed
Remove loadable feature references
1 parent e9c74f9 commit 1b5fd94

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
110110
- name: Test powersync
111111
run: |
112-
cargo test -p powersync_core --features loadable_extension
112+
cargo test -p powersync_core
113113
114114
- name: Check shell
115115
run: |
@@ -247,4 +247,4 @@ jobs:
247247
248248
- name: Test Core
249249
run: |
250-
cargo valgrind test -p powersync_core --features loadable_extension
250+
cargo valgrind test -p powersync_core

crates/loadable/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ features = []
2222

2323
[features]
2424
nightly = []
25+
static = ["powersync_core/static"]
2526
default = ["powersync_core/getrandom"]

docs/RELEASING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ First, bump the version number in these places:
77
3. android/build.gradle.kts
88
4. android/src/prefab/prefab.json
99
5. tool/build_xcframework.sh - `VERSION` variable.
10-
6. `cargo build` to update Cargo.lock
10+
6. Version dependency from `crates/core` to `crates/sqlite_nostd`.
11+
7. `cargo build` to update Cargo.lock
1112

1213
Next, open a PR with these changes and wait for it to get approved and merged.
1314

tool/build_wasm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUSTFLAGS="-C link-arg=-sSIDE_MODULE=2" \
99
-p powersync_loadable \
1010
--profile wasm \
1111
--no-default-features \
12-
--features "powersync_core/static powersync_core/omit_load_extension sqlite_nostd/omit_load_extension nightly" \
12+
--features "static nightly" \
1313
-Z build-std=panic_abort,core,alloc \
1414
--target wasm32-unknown-emscripten
1515

@@ -22,7 +22,7 @@ RUSTFLAGS="-C link-arg=-sSIDE_MODULE=2 -C link-arg=-sASYNCIFY=1 -C link-arg=-sJS
2222
-p powersync_loadable \
2323
--profile wasm_asyncify \
2424
--no-default-features \
25-
--features "powersync_core/static powersync_core/omit_load_extension sqlite_nostd/omit_load_extension nightly" \
25+
--features "static nightly" \
2626
-Z build-std=panic_abort,core,alloc \
2727
--target wasm32-unknown-emscripten
2828

@@ -37,7 +37,7 @@ cargo build \
3737
-p powersync_loadable \
3838
--profile wasm \
3939
--no-default-features \
40-
--features "powersync_core/static powersync_core/omit_load_extension sqlite_nostd/omit_load_extension nightly" \
40+
--features "static nightly" \
4141
-Z build-std=panic_abort,core,alloc \
4242
--target wasm32-wasip1
4343

0 commit comments

Comments
 (0)