PHondogo
10/16/2024, 1:01 PMPHondogo
10/16/2024, 1:01 PMFatal: Internal GlobalTypeRewriter build error: Heap type has an invalid supertype at index 6
Execution failed for task ':app:compileProductionExecutableKotlinWasmJsOptimize'.
> Process 'command '/home/user/.gradle/binaryen/binaryen-version_119/bin/wasm-opt'' finished with non-zero exit value 1
PHondogo
10/16/2024, 1:02 PMPHondogo
10/16/2024, 1:03 PMPHondogo
10/16/2024, 1:04 PMPHondogo
10/16/2024, 3:48 PMPHondogo
10/17/2024, 7:12 AMbashor
10/17/2024, 5:25 PMbashor
10/17/2024, 5:35 PMPHondogo
10/17/2024, 5:39 PMPHondogo
10/17/2024, 7:07 PMbashor
10/17/2024, 9:50 PMbashor
10/17/2024, 10:46 PMsuspend fun main
in the code, could you please try the same without it?PHondogo
10/18/2024, 5:33 AMPHondogo
10/18/2024, 5:43 AM/home/user/.gradle/binaryen/binaryen-version_119/bin/wasm-opt --enable-gc --enable-reference-types --enable-exception-handling --enable-bulk-memory --enable-nontrapping-float-to-int --closed-world --inline-functions-with-loops --traps-never-happen --fast-math --type-ssa -O3 -O3 --gufa -O3 --type-merging -O3 -Oz in.wasm -o out.wasm
bashor
10/18/2024, 10:57 AMbashor
10/24/2024, 10:11 PMsuspend fun main
had @JsExport
annotation? If so, I’m wondering why.PHondogo
10/24/2024, 10:16 PM