wasm-bindgen/crates
Alex Crichton d876475ce3
Fix some situations with duplicate imports (#589)
* Fix importing the same identifier from two modules

This needed a fix in two locations:

* First the generated descriptor function needed its hash to include the module
  that the import came from in order to generate unique descriptor functions.
* Second the generation of the JS shim needed to handle duplicate identifiers in
  a more uniform fashion, ensuring that imported names didn't clash.

* Fix importing the same name in two modules

Previously two descriptor functions with duplicate symbols were emitted, and now
only one function is emitted by using a global table to keep track of state
across macro invocations.
2018-07-30 10:50:43 -07:00
..
backend Fix some situations with duplicate imports (#589) 2018-07-30 10:50:43 -07:00
cli Bump to 0.2.15 2018-07-26 14:53:59 -07:00
cli-support Fix some situations with duplicate imports (#589) 2018-07-30 10:50:43 -07:00
js-sys Create bindings for RegExp (#580) 2018-07-29 16:13:42 -07:00
macro Move the macro support code into its own crate (#529) 2018-07-29 08:59:46 -07:00
macro-support Fix some situations with duplicate imports (#589) 2018-07-30 10:50:43 -07:00
shared Bump to 0.2.15 2018-07-26 14:53:59 -07:00
test test: Add cargo.toml metadata 2018-07-26 15:11:34 -07:00
test-macro test-macro: Add Cargo.toml metadata 2018-07-26 15:08:59 -07:00
test-project-builder Bump to 0.2.15 2018-07-26 14:53:59 -07:00
typescript Fix compile on latest nightly (#489) 2018-07-17 09:11:30 -05:00
web-sys Add renaming of conflicting constructors and operations (#579) 2018-07-30 07:41:22 -07:00
webidl Add renaming of conflicting constructors and operations (#579) 2018-07-30 07:41:22 -07:00