Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
Are there any ability to use C compiled code?
I noticed nightly build provide an ability to compile/link C code
example: https://github.com/rafaelbeckel/test-c-rust-wasm
discussion: rustwasm/wasm-bindgen#2209
I tried to reuse solutions, but got an exceptions:
Added lib like this: rbg_calculator = { path = "../test-c-rust-wasm/crates/5_rust_bindgen" }
But CloudFlare worker fails: service core:user:memgraph: Uncaught TypeError: WebAssembly.Instance(): Import #6 "env": module is not an object or function
Final goal is to add this one: https://github.com/memgraph/mgclient
It has an ability to be compiled in wasm:
Building WASM (Linux only)
Compiling mgclient for wasm requires the Emscripten sdk. This is automated in the following steps:
mkdir build && cd build
cmake .. -DWASM=ON
I also tried it, but the same error
Any suggestion on this?
Metadata
Metadata
Assignees
Labels
No labels