wasm-bindgen/guide
Alex Crichton b256b98e38 Improve link_mem_intrinsics hack
Previously the `link_mem_intrinsics` hack actually had a runtime
overhead by storing a value into a global location, but it turns out we
can actually use a non-inlined function call as part of the *descriptor*
which requires this to be in the final binary, but we'll end up snip'ing
the value at the end.

All in all this should mean that it's not a zero-overhead solution for
linking these intrinsics! The `#[wasm_bindgen]` attribute already has
other problems if the descriptors don't show up, so that's the least of
our issues!
2018-09-24 15:43:04 -07:00
..
src Improve link_mem_intrinsics hack 2018-09-24 15:43:04 -07:00
.gitignore guide: Add the wasm-bindgen guide 2018-06-19 12:05:27 -07:00
book.toml guide: Add the wasm-bindgen guide 2018-06-19 12:05:27 -07:00
lib.rs Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00