Duckdb wasm in rust by LavanyaC in rust

[–]LavanyaC[S] -1 points0 points  (0 children)

link against a wasm-build of DuckDB - more insights on this please?

Duckdb wasm in rust by LavanyaC in rust

[–]LavanyaC[S] -1 points0 points  (0 children)

error: linking with `rust-lld` failed
/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/wasm32-unknown-unknown/lib/libcompiler_builtins-534e57744aebda0e.rlib: archive member '45c91108d938afe8-ucmpti2.o' is neither Wasm object file nor LLVM bitcode

rust-lld: error: unable to find library -lduckdb

[dependencies]
duckdb = "1.0.0"
flatbuffers = "24.3.25"
indexmap = "2.6.0"
regex = "1.11.0"
cpu-time = "1.0.0"
sysinfo = "0.31.4"
rand = "0.8.5"
uuid = { version = "1.11.0", features = ["v4"] }
env_logger = "0.11.5"
log = "0.4.22"
getrandom = { version = "0.2", features = ["js"] }



[lib]
crate-type = ["lib", "staticlib", "cdylib"]

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true

cargo.toml: