sdeleuze
12/23/2022, 6:48 PM1.8.0-RC2
https://github.com/vmware-wasmstack/wasm-languages/commit/5307fce22efd8354451056281d96515fa55f1b3b. Looks like it now works fine with Chrome stable (108) using the --js-flags=--experimental-wasm-gc
flag.
Looks like support on Google Chrome unstable (110) is broken, I get the following error:
async module:63 Uncaught (in promise) CompileError: WebAssembly.instantiateStreaming(): Compiling function #14:"kotlin.collections.IteratorImpl.hasNext" failed: call_ref[0] expected type (ref null 72), found struct.get of type (ref null 2) @+12373
await (async)
m.a @ async module:49
475 @ wasm-example.js:1
m @ bootstrap:19
(anonymous) @ startup:4
(anonymous) @ wasm-example.js:1
(anonymous) @ universalModuleDefinition:9
(anonymous) @ universalModuleDefinition:1
I guess that's expected, but just wanted to check with the Kotlin/Wasm team.
Also, I was not able to find how to enable permanently Wasm GC flag as shared by @bashor on https://twitter.com/bashorov/status/1603539987538010113 in my installation of Chrome unstable (110), the entry is not available, not sure why.Svyatoslav Kuzmich [JB]
12/25/2022, 3:15 PMAlso, I was not able to find how to enable permanently Wasm GC flag🤷 I do have this option in
111.0.5483.0 (Official Build) canary (arm64)
on a Mac.sdeleuze
12/25/2022, 3:18 PMbashor
01/09/2023, 3:58 PMsdeleuze
01/09/2023, 3:58 PMbashor
01/09/2023, 3:58 PM110.0.5481.24
sdeleuze
01/09/2023, 4:03 PMsdeleuze
01/09/2023, 4:03 PM