You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile the library under wasm32-unknown-unknown to be used inside the browser through wasm-pack.
There has been somewhat recent work to support this more in the rust compiler here so maybe there is some way to get it working by using wasm32-wasi perhaps?
The text was updated successfully, but these errors were encountered:
I've tried to mingle a bit with the build script to try to fix compile errors but wasn't able to do much as I don't know much about cmake/cpp/linking to understand what to change.
What had you done to make it work under wasm32-unknown-emscripten?
I don't know how much I could be helpful in trying to solve this so you could close the issue as a won't fix if you think it's out of scope of the crate
I've tried to mingle a bit with the build script to try to fix compile errors but wasn't able to do much as I don't know much about cmake/cpp/linking to understand what to change.
What had you done to make it work under wasm32-unknown-emscripten?
I only installed emscripten so the cmake crate could find the emscripten compiler and use it. Does that target not work for your use case?
I don't know how much I could be helpful in trying to solve this so you could close the issue as a won't fix if you think it's out of scope of the crate
I'll leave it as a help-wanted instead :) maybe someone would come later and help out with some pointers or a PR.
I only installed emscripten so the cmake crate could find the emscripten compiler and use it. Does that target not work for your use case?
As far as I was able to find, it seems like wasm32 with emscripten isn't supported or encouraged, so was looking if there were other ways to do it. I'm using wasm-pack which uses wasm-32-unknown-unknown, not sure if maybe it would work with wasm32-wasi, but at this point it's buzzwords to me xD, I'll report here anything I'm able to find which might be useful for the future
I'm trying to compile the library under wasm32-unknown-unknown to be used inside the browser through wasm-pack.
There has been somewhat recent work to support this more in the rust compiler here so maybe there is some way to get it working by using wasm32-wasi perhaps?
The text was updated successfully, but these errors were encountered: