Use cmake c++ project with wasm-bindgen #4382
Unanswered
thewh1teagle
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
-
Hey!
I'm trying to add wasm support for the project sherpa-rs which is a rust bindings to sherpa-onnx.
this c++ library is built using cmake. I can build it with emcc successfully but then wasm-bindgen failed to build the rust bindings. I understand that wasm-bindgen doesn't support emcc.
How can I compile sherpa-onnx in such a way that was-bindgen will be able to work with it?
I created a basic reproduce repository that tries to build and link sherpa-onnx with rust into wasm
https://github.com/thewh1teagle/sherpa-wasm-repro
Beta Was this translation helpful? Give feedback.
All reactions