wasm-bindgen/tests/wasm
a1trl9 ad85de50c6
try to fix global / modulaized import ns conflict (#2057)
* 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>
2020-04-15 08:28:29 -05:00
..
api.js Dramatically improving the build time of web-sys (#2012) 2020-03-02 17:39:36 -06:00
api.rs Add an accessor for the function table 2019-04-08 10:40:46 -07:00
arg_names.js Preserve argument names 2019-03-14 08:46:42 -03:00
arg_names.rs Preserve argument names 2019-03-14 08:46:42 -03:00
char.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
char.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
classes.js Allow for js property inspection (#1876) 2019-11-26 12:39:57 -06:00
classes.rs Allow for js property inspection (#1876) 2019-11-26 12:39:57 -06:00
closures.js First refactor for WebIDL bindings 2019-06-05 07:52:14 -07:00
closures.rs Fix file permissions (#1779) 2019-09-20 13:50:00 -05:00
comments.js Copy more doc comments to JS/TS files, unescape comments (#2070) 2020-04-13 13:51:32 -05:00
comments.rs Copy more doc comments to JS/TS files, unescape comments (#2070) 2020-04-13 13:51:32 -05:00
duplicate_deps.js Migrate rest of dependencies test to wasm 2018-08-06 10:42:08 -07:00
duplicate_deps.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
duplicates_a.js Support importing same-name statics from two modules 2018-08-20 10:56:58 -07:00
duplicates_b.js Support importing same-name statics from two modules 2018-08-20 10:56:58 -07:00
duplicates_c.js Support importing same-name statics from two modules 2018-08-20 10:56:58 -07:00
duplicates.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
enums.js Add ability to rename enums (js_name = new_name) (#2071) 2020-04-13 09:14:41 -05:00
enums.rs Add ability to rename enums (js_name = new_name) (#2071) 2020-04-13 09:14:41 -05:00
final.js Rename host_binding to final 2018-11-09 08:00:41 -08:00
final.rs Rename host_binding to final 2018-11-09 08:00:41 -08:00
futures.js Fix codegen for descriptors of async fn returns (#1782) 2019-09-20 16:06:27 -05:00
futures.rs Run rustfmt 2019-10-28 20:15:05 -07:00
getters_and_setters.js try to fix js_name error when both getter and setter used (#2074) 2020-04-10 11:57:36 -05:00
getters_and_setters.rs try to fix js_name error when both getter and setter used (#2074) 2020-04-10 11:57:36 -05:00
import_class.js Add support for importing default exports 2018-12-11 21:00:00 +02:00
import_class.rs Temporarily ignore intentionally failing test 2019-06-05 07:52:14 -07:00
imports_2.js try to fix global / modulaized import ns conflict (#2057) 2020-04-15 08:28:29 -05:00
imports.js try to fix global / modulaized import ns conflict (#2057) 2020-04-15 08:28:29 -05:00
imports.rs try to fix global / modulaized import ns conflict (#2057) 2020-04-15 08:28:29 -05:00
js_objects.js Migrate the serde-serialize test to wasm 2018-08-06 09:43:55 -07:00
js_objects.rs Handle JSON.stringify(undefined) 2019-09-25 11:24:48 -05:00
jscast.js Implement #[wasm_bindgen(extends = ...)] 2018-08-07 13:04:11 -07:00
jscast.rs Migrate all crates to the 2018 edition 2019-03-26 08:10:53 -07:00
main.rs Fix codegen for descriptors of async fn returns (#1782) 2019-09-20 16:06:27 -05:00
math.js Fix handling of u32 between Rust and JS 2019-03-27 13:37:14 -07:00
math.rs Assert that a bunch more function signatures don't require JS glue 2019-07-12 12:34:29 -07:00
no_shims.rs Assert that a bunch more function signatures don't require JS glue 2019-07-12 12:34:29 -07:00
node.js Move node test over to wasm 2018-08-06 10:06:45 -07:00
node.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
option.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
option.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
optional_primitives.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
optional_primitives.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
rethrow.js Allow returning Result from functions 2018-09-18 13:13:59 -07:00
rethrow.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
simple.js Dramatically improving the build time of web-sys (#2012) 2020-03-02 17:39:36 -06:00
simple.rs Run rustfmt 2019-10-28 20:15:05 -07:00
slice.js Rewrite wasm-bindgen with updated interface types proposal (#1882) 2019-12-03 11:16:44 -06:00
slice.rs Rewrite wasm-bindgen with updated interface types proposal (#1882) 2019-12-03 11:16:44 -06:00
structural.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
structural.rs Fix importing and exporting the same name 2019-05-03 07:15:20 -07:00
truthy_falsy.rs Add truthy_falsy tests to main.rs 2019-08-08 09:17:38 +02:00
u64.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
u64.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
validate_prt.js Check for use-after-move in JS glue when --debug is enabled again 2019-07-16 13:35:59 -07:00
validate_prt.rs Check for use-after-move in JS glue when --debug is enabled again 2019-07-16 13:35:59 -07:00
variadic.js Add docs and remove typecheck from variadic attribute 2018-09-01 13:55:35 +01:00
variadic.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
vendor_prefix.js Rename polyfill to vendor_prefix 2018-10-01 14:45:30 -07:00
vendor_prefix.rs Add an optimization to directly wire up imported functions 2018-11-13 13:16:38 -08:00