-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
so I converted this TTS engine to WASM (so I could wask2kt to embed in minecraft) and wondered "I wonder. can I wasm2lua this to make it a lua program"
but when I tried the wasm2lua transpiler crashed with
/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:651
throw new _helperApiError.CompileError("Unexpected instruction: " + toHex(instructionByte));
^
CompileError: Unexpected instruction: 0xc0
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:651:15)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:689:9)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:753:9)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:689:9)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:753:9)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:689:9)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:689:9)
at parseInstructionBlock (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:753:9)
at parseCodeSection (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:624:7)
at parseSection (/usr/lib/node_modules/wasm2lua/resources/patches/decoder.js:1487:13)
Node.js v20.9.0
this appears to correlate to the i32.extend8_s opcode
Metadata
Metadata
Assignees
Labels
No labels