wasm-bindgen/crates
Alex Crichton 335c0b1ab6 Add support for modules importing memory
The default of Rust wasm binaries is to export the memory that they contain, but
LLD also supports an `--import-memory` option where memory is imported into a
module instead. It's looking like importing memory is along the lines of how
shared memory wasm modules will work (they'll all import the same memory).

This commit adds support to wasm-bindgen to support modules which import memory.
Memory accessors are tweaked to no longer always assume that the wasm module
exports its memory. Additionally JS bindings will create a `memory` option
automatically because LLD always imports memory from an `env` module which won't
actually exist.
2018-08-26 15:41:36 -07:00
..
backend Bump to 0.2.17 2018-08-16 23:36:42 -07:00
cli Bump to 0.2.17 2018-08-16 23:36:42 -07:00
cli-support Add support for modules importing memory 2018-08-26 15:41:36 -07:00
futures Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
js-sys feat(extends): extend promise 2018-08-24 02:15:02 +02:00
macro Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
macro-support Merge pull request #741 from alexcrichton/duplicate-statics 2018-08-20 11:37:21 -07:00
shared Bump to 0.2.17 2018-08-16 23:36:42 -07:00
test Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
test-macro Bump to 0.2.17 2018-08-16 23:36:42 -07:00
typescript Fix compile on latest nightly (#489) 2018-07-17 09:11:30 -05:00
wasm-interpreter Fix wasm-interpreter with mixed types of imports 2018-08-20 16:18:09 -07:00
web-sys Skip args in overloaded method names if all same 2018-08-20 10:30:02 -07:00
webidl Tweak some WebIDL type names in methods 2018-08-20 10:32:04 -07:00
webidl-tests Tweak some WebIDL type names in methods 2018-08-20 10:32:04 -07:00