alexcrichton requested fitzgen for a review on PR #8071.
alexcrichton requested wasmtime-core-reviewers for a review on PR #8071.
alexcrichton opened PR #8071 from alexcrichton:clear-borrow-tracking-on-convert
to bytecodealliance:main
:
This commit clears out the dynamic tracking of borrows within a
ResourceAny
when it's converted to aResource<T>
. TheResource<T>
type doesn't participate in this borrow tracking in the same way asResourceAny
because it's assumed that hosts are well-behaved in this regard. This means that the conversion here should respect these guarantees ofResource<T>
and auto-clear the borrow tracking.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #8071.
github-actions[bot] commented on PR #8071:
Subscribe to Label Action
cc @peterhuene
<details>
This issue or pull request has been labeled: "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- peterhuene: wasmtime:api
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
dicej submitted PR review.
alexcrichton merged PR #8071.
Last updated: Dec 23 2024 at 12:05 UTC