I’m developing a Rust library with DuckDB as a key dependency. The library successfully cross-compiles for various platforms like Windows, macOS, and Android. However, I’m encountering errors while trying to build it for WebAssembly (WASM).
Could you please help me resolve these issues or share any insights on building DuckDB with Rust for WASM?
Issue i'm getting:
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