Wasm GC/tail calls on WebKit might be borked
Our game Cirkoban runs successfully on both Chrome and Firefox. Now that WebKit/Safari has shipped support for Wasm GC and tail calls, we tested Cirkoban on Safari 18.2. The game boots and renders a few frames of the opening level before crashing with this error:
[Error] RuntimeError: ref.cast failed to cast reference to target heap type (evaluating 'api.call(func, argv)')
<?>.wasm-function[1212] (reflect.js:301)
<?>.wasm-function[51]
<?>.wasm-function[52]
52
call (reflect.js:301)