fitzgen requested alexcrichton for a review on PR #8346.
fitzgen opened PR #8346 from fitzgen:gc-refs-in-wasmtime-extension-to-c-api-again
to bytecodealliance:main
:
Builds on top of https://github.com/bytecodealliance/wasmtime/pull/8344
Restores support for
externref
inwasmtime_val_t
, methods for manipulating them and getting their wrapped host data, and examples/tests for these things.Additionally adds support for
anyref
inwasmtime_val_t
, clone/delete methods similar to those forexternref
, and a fewi31ref
-specific methods. Also adds C and Rust example / test for working withanyref
.
fitzgen requested wasmtime-core-reviewers for a review on PR #8346.
fitzgen updated PR #8346.
github-actions[bot] commented on PR #8346:
Subscribe to Label Action
cc @peterhuene
<details>
This issue or pull request has been labeled: "wasmtime:c-api"Thus the following users have been cc'd because of the following labels:
- peterhuene: wasmtime:c-api
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
fitzgen updated PR #8346.
fitzgen updated PR #8346.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Mind adding a comment here as to what the
ManuallyDrop
is doing? It seems related to the destructor ofwasmtime_val_t
but I couldn't quite figure it out
fitzgen created PR review comment:
This is a leftover from the old externref support, and I don't think we actually need it anymore. I'll remove it.
fitzgen submitted PR review.
fitzgen updated PR #8346.
fitzgen has enabled auto merge for PR #8346.
fitzgen updated PR #8346.
fitzgen has enabled auto merge for PR #8346.
fitzgen updated PR #8346.
fitzgen has enabled auto merge for PR #8346.
fitzgen merged PR #8346.
Last updated: Dec 23 2024 at 12:05 UTC