Stream: git-wasmtime

Topic: wasmtime / PR #9359 Improve a couple debug assertions for...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2024 at 18:30):

fitzgen opened PR #9359 from fitzgen:improve-gc-ref-debug-assertions to bytecodealliance:main:

Don't just assert that the given GC refs aren't i31refs, but also that they are of the correct type.

Note that the other from_cloned_gc_ref methods (on, for example, AnyRef) already do their equivalents of these checks. Just these two were a little looser than they should have been.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2024 at 18:30):

fitzgen requested wasmtime-core-reviewers for a review on PR #9359.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2024 at 18:30):

fitzgen requested alexcrichton for a review on PR #9359.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2024 at 19:45):

github-actions[bot] commented on PR #9359:

Subscribe to Label Action

cc @fitzgen

<details>
This issue or pull request has been labeled: "wasmtime:api", "wasmtime:ref-types"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2024 at 19:58):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 02 2024 at 20:14):

alexcrichton merged PR #9359.


Last updated: Nov 22 2024 at 16:03 UTC