Embedding cozo wasm into other language. #182
Unanswered
CrowdHailer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to embed cozo-lib-wasm into go. I want some isolation protection and so have chosen this approach over using C.
I'm trying to follow these instructions but no luck yet. https://eli.thegreenplace.net/2023/faas-in-go-with-wasm-wasi-and-rust/. How do I reference the functions in the wasm module in go?
I have also tried following the wazero docs to the point where I have, the following.
However instantiation fails with the following error.
panic: failed to instantiate module: module[wbg] not instantiated
Is wbg a module from cozo, or something I should know as a general wasm requirement
Beta Was this translation helpful? Give feedback.
All reactions