Open bicarlsen opened 3 months ago
I ran into the same situation and can confirm that your patched branch works for me too. It would be awesome to get this integrated.
I also ran into the same issue when I enable the feature serde-serialize
of wasm-bindgen
.
Removed the feature also works for me.
Currently the crate depends on
wasm-bindgen = { version = "0.2.89", features = ["serde_json"] }
which can cause a circular dependency as described in aHash and getrandom, and discussed further in wasm-bindgen.I removed this feature dependency and played with the crate a bit, and everything still seems to work.
Reproduction
I ran into this issue when trying to incorporate SurrealDB into my Tauri app.
Including both
surrealdb
andtauri-sys
caused the issue.Patched branch
https://github.com/bicarlsen/tauri-sys/tree/fix/wasm_bindgen_serde