Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wasm #7

Open
thewh1teagle opened this issue Dec 8, 2024 · 0 comments
Open

Add wasm #7

thewh1teagle opened this issue Dec 8, 2024 · 0 comments

Comments

@thewh1teagle
Copy link
Owner

thewh1teagle commented Dec 8, 2024

https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_Wasm

Unsupported architecture. something wrong with the cmake invoking to compile speex to wasm target

todo:
Try with sample program, try compile speex directly to wasm with cmake. (works)

Compiled manually with:

rm -rf build
emcmake cmake -B build -G "Unix Makefiles"
cmake --build build

Bindgen doesn't generate the bindings correctly. missing functions

rust-lang/rust-bindgen#2989

Wasm pack failed to compile with CMake. rustwasm/wasm-pack#1455


Added wasm with emscripten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant