wasm-bindgen/crates
Alex Crichton 61491eafbf Add experimental support for WeakRef
This commit adds experimental support for `WeakRef` to be used to automatically
free wasm objects instead of having to always call the `free` function manually.
Note that when enabled the `free` function for all exported objects is still
generated, it's just optionally invoked by the application.

Support isn't exposed through a CLI flag right now due to the early stages of
the `WeakRef` proposal, but the env var `WASM_BINDGEN_WEAKREF` can be used to
enable this generation. Upon doing so the output can then be edited slightly as
well to work in the SpiderMonkey shell and it looks like this is working!

Closes #704
2018-08-20 11:18:02 -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 experimental support for WeakRef 2018-08-20 11:18:02 -07:00
futures Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
js-sys Merge pull request #739 from Hywan/string-replace-regexp 2018-08-20 07:55:05 -07:00
macro Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
macro-support Bump to 0.2.17 2018-08-16 23:36:42 -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
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