Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit a022f5e

Browse files
authored
sqld: make wasm opt-out (#758)
This will allow ARMv7 architecture users to compile sqld. Wasmtime currently does not have support for that arch.
1 parent b90c585 commit a022f5e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = [
1111
[workspace.dependencies]
1212
rusqlite = { version = "0.29.0", git = "https://github.com/tursodatabase/rusqlite.git", rev = "a72d529", default-features = false, features = [
1313
"buildtime_bindgen",
14-
"bundled-libsql-wasm-experimental",
14+
"bundled-libsql-experimental",
1515
"column_decltype",
1616
"load_extension",
1717
"modern_sqlite"

sqld/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ tonic-build = "0.10"
9393
vergen = { version = "8", features = ["build", "git", "gitcl"] }
9494

9595
[features]
96+
default = ["wasm-udfs"]
9697
unix-excl-vfs = ["sqld-libsql-bindings/unix-excl-vfs"]
9798
debug-tools = ["console-subscriber", "rusqlite/trace", "tokio/tracing"]
9899
sim-tests = ["libsql"]
100+
wasm-udfs = ["rusqlite/bundled-libsql-wasm-experimental"]
99101

100102

0 commit comments

Comments
 (0)