CompileError: WebAssembly.instantiate(): param count of 1055 exceeds internal limit of 1000 @+219

300 Views Asked by At

I'm using tinygo to compile my go project into a WebAssembly module, compile succeeds, but the browser shows below error:

Instantiate wasm failed, error: CompileError: WebAssembly.instantiate(): param count of 1055 exceeds internal limit of 1000 @+219

I know that WebAssembly module has its limitation, as referenced by https://webassembly.github.io/spec/js-api/index.html#limits.

But how can I find which function exceeds this limitation, or is there any workaround to adjust this limitation?

0

There are 0 best solutions below