mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-28 07:51:07 +00:00
* use global import map for rename * fix same ns import * cargo fmt * add basic test * move generate_identifier, add comments, add tests * remove leading &mut * remove unnecessary bail * use import_name for global and some refine * Add back in error handling, clean up instruction iteration * Remove unnecessary patch statements Co-authored-by: Alex Crichton <alex@alexcrichton.com>
5 lines
143 B
JavaScript
5 lines
143 B
JavaScript
exports.same_name_from_import = (a) => a * 4;
|
|
|
|
exports.same_js_namespace_from_module = {
|
|
func_from_module_2_same_js_namespace: (a) => a * 6
|
|
} |