wasmtime-rb icon indicating copy to clipboard operation
wasmtime-rb copied to clipboard

Update to wasmtime v19

Open saulecabrera opened this issue 1 year ago • 1 comments

This commit reworks the bindings to support wasmtime v19 which introduces significant changes regarding reference types, namely ValType adds support for typed function refereces and GC. It's important to note that given that these features are not enabled by default, these proposals are not visible in wasmtime-rb's API surface. It's reasonable to add support for them once the implementation in Wasmtime proper is enabled by default, however, this commit paves the road in a couple of places to support the Ref type.

Full changelog: https://github.com/bytecodealliance/wasmtime/blob/main/RELEASES.md#1900

saulecabrera avatar May 05 '24 20:05 saulecabrera

macos-latest, 3.1 is reporting a dynamic linking error

dyld[10102]: missing symbol called

I'm not entirely sure what's going on, however, the symptoms look very similar to https://github.com/oxidize-rb/rb-sys/pull/157

saulecabrera avatar May 06 '24 14:05 saulecabrera

You can disable the rust-crate example on ruby 3.1, no idea what's going on there and why it's now failing 🤔

ianks avatar May 09 '24 21:05 ianks