1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-17 02:30:50 +00:00
Alex Crichton 4a873af8d1 Enable cargo test where possible
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  it's probably as good as we can do
for now pending upstream Cargo features, so I'm gonna say that it...

Closes 
2018-04-27 15:01:35 -07:00
..
2018-04-27 15:01:35 -07:00