mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-13 04:51:23 +00:00
Adding in wrapper file to fix circular dependency with Webpack 5 (#2110)
* Adding in wrapper file to fix circular dependency with Webpack 5 * Running rustfmt * Fixing unit tests
This commit is contained in:
@ -11,5 +11,3 @@ export const __wbindgen_init_anyref_table = function() {
|
||||
;
|
||||
};
|
||||
|
||||
wasm.__wbindgen_start();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
(module
|
||||
(type (;0;) (func))
|
||||
(import "./reference_test.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
|
||||
(import "./reference_test_bg.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
|
||||
(table (;0;) 32 anyref)
|
||||
(memory (;0;) 16)
|
||||
(export "memory" (memory 0))
|
||||
|
@ -64,5 +64,3 @@ export const __wbindgen_init_anyref_table = function() {
|
||||
;
|
||||
};
|
||||
|
||||
wasm.__wbindgen_start();
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
(type (;0;) (func))
|
||||
(type (;1;) (func (result i32)))
|
||||
(type (;2;) (func (param i32)))
|
||||
(import "./reference_test.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
|
||||
(import "./reference_test_bg.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
|
||||
(func $__wbindgen_exn_store (type 2) (param i32))
|
||||
(func $__anyref_table_alloc (type 1) (result i32))
|
||||
(func $exported (type 0))
|
||||
|
@ -17,5 +17,3 @@ export const __wbindgen_init_anyref_table = function() {
|
||||
;
|
||||
};
|
||||
|
||||
wasm.__wbindgen_start();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
(module
|
||||
(type (;0;) (func))
|
||||
(import "./reference_test.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
|
||||
(import "./reference_test_bg.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
|
||||
(func $foo (type 0))
|
||||
(table (;0;) 32 anyref)
|
||||
(memory (;0;) 17)
|
||||
|
Reference in New Issue
Block a user