Skip to content

Add wasm #7

@thewh1teagle

Description

@thewh1teagle

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. wasm-bindgen/wasm-pack#1455


Added wasm with emscripten

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions