CompileError:WebAssembly.Module doesn't parse at byte 247:invalid opcode 192,in function at index 14.
I have generated a webassembly module. When working in Safari, WebAssembly. validate (arrayBuffer) is false, but when working in other browsers, it is true. That's why. Please help me
If it works in other browsers, chances are that it's safari that's at fault. Which would mean that the fix is something that only Apply can develop and deploy.
Yes, it works fine in other browsers, but it doesn't run in Safari 14.0. I'm not sure if there's a problem with the rust code I wrote, but if there's a problem with my rust code, it probably won't run in all environments, not just in Safari 14.0
There are tools which decompile webassembly Then you can look at the opcodes which don't work and try to find a workaround ? wat (webassembly text) eventually wasm2wat input.wasm -o output.wat might help you.
According to New WebKit Features in Safari 14.1 | WebKit The sign extension proposal has been implemented in Safari 14.1 all the way back in 2021. How old of a Safari version are you using?