mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-18 15:31:48 +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 |
||
---|---|---|
.. | ||
api.rs | ||
classes.rs | ||
closures.rs | ||
dependencies.rs | ||
enums.rs | ||
import_class.rs | ||
imports.rs | ||
jsobjects.rs | ||
main.rs | ||
math.rs | ||
node.rs | ||
non_debug.rs | ||
non_wasm.rs | ||
simple.rs | ||
slice.rs | ||
structural.rs |