WebAssembly InstantiateStreaming Wrong MIME type

后端 未结 3 1516
不知归路
不知归路 2021-02-14 11:03

I am attempting to get this tutorial (here: https://www.hellorust.com/demos/add/index.html) to work, and it seems that whatever I do, I cannot get the WebAssembly MDN reserved f

3条回答
  •  终归单人心
    2021-02-14 11:44

    A snippet of code for a workaround has been published on the WebAssembly Git here. Unfortunately, this is a workaround, and this defeats the purpose of instantiateStreaming() which is told here to be "a lot more efficient", since the workaround needs an ArrayBuffer that instantiateStreaming() helps to avoid.

提交回复
热议问题