CompileError:WebAssembly.instantiate():1055的参数计数超过1000 @+ 219的内部限制

发布于 2025-02-05 03:26:25 字数 486 浏览 2 评论 0原文

我正在使用TinyGo将我的GO项目编译到WebAssembly模块中,编译成功,但是浏览器在下面显示错误:

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

我知道WebAssembly模块具有其限制,如 https://webassembly.github.io/spec/spec/js-api/index.htex.html#limits

但是,如何找到超过此限制的功能,还是有任何解决此次限制的解决方法?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文