Commit ffd785c
authored
Update to wasmtime v19 (#322)
* Update to wasmtime v19
This commit reworks the bindings to support `wasmtime` 19 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.
* Handle linker borrows and update func spec error messages
Errors in cross store args/returns have changed, this commit updates the test expectations to match those changes and also fixes a multiple dynamic borros bug.
* Remove unused type entry
* Update `version.rb`
Updates the gem's version
* Review comments
* Disable examples in macos-latest, 3.11 parent e7923c5 commit ffd785c
File tree
15 files changed
+527
-397
lines changed- .github/workflows
- examples/rust-crate
- ext
- src/ruby_api
- lib/wasmtime
- spec/unit
15 files changed
+527
-397
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
0 commit comments