Skip to content

Commit ffd785c

Browse files
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.1
1 parent e7923c5 commit ffd785c

File tree

15 files changed

+527
-397
lines changed

15 files changed

+527
-397
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868

6969
- name: Run examples
7070
run: bundle exec rake examples
71+
# The example is failing with dyld errors, it's unlikely that this is
72+
# something related to wasmtime-rb itself. Disabling for now.
73+
if: matrix.os != 'macos-latest' && matrix.ruby != '3.1'
7174

7275
- name: Run benchmarks
7376
run: bundle exec rake bench:all

0 commit comments

Comments
 (0)