Anyone tried using Kotlin/Wasm (1.9.20-Beta) with ...
# webassembly
r
Anyone tried using Kotlin/Wasm (1.9.20-Beta) with Firefox Nightly 119? I've got an error:
wasm validation error: at offset 360: bad type
. The same code works fine in Chrome 117. I've turned on two wasm options for Firefox in
about:config
(https://kotlinlang.org/docs/wasm-get-started.html#troubleshooting).
e
https://youtrack.jetbrains.com/issue/KT-59720 the wasm opcodes have changed as the wasm-gc spec is being finalized, firefox isn't up to date
r
The mozilla bug is fixed with the 119.0a1 milestone. This is also the version of my Firefox Nightly. Still it doesn't work.
It works with Kotlin-1.9.20-Beta2 :-)
Unfortunately I can't find Chrome 119 (dev) for my Fedora
e
oh it looks like the nightly did update
so yeah, you need Kotlin 1.9.20-Beta2 for the new opcodes to match (I thought that's what you mentioned originally, misread)
👍 1