mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-01 14:54:25 +03:00
4a873af8d1
Currently `#[wasm_bindgen]` generates a bunch of references to symbols that don't actually exist on non-wasm targets, making it more difficult to get a crate working across multiple platforms. This commit updates the symbol references to be dummy ones that panic on non-wasm targets to allow simple testing/benchmarking to work on native targets. While this isn't a perfect solution for #114 it's probably as good as we can do for now pending upstream Cargo features, so I'm gonna say that it... Closes #114 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |