Stream: git-wasmtime

Topic: wasmtime / PR #13165 Always emit code assuming the GC hea...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 18:17):

fitzgen opened PR #13165 from fitzgen:issue-13141 to bytecodealliance:main:

Because we lazily allocate the GC heap, it can always do one "move" from null to non-null, even if it cannot move otherwise after that.

Also allow specifying flags = ... in .wast tests.

Fixes #13141
Fixes #13134

<!--
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 (Apr 21 2026 at 18:17):

fitzgen requested dicej for a review on PR #13165.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 18:17):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 18:29):

alexcrichton created PR review comment:

What's up with this?

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 18:29):

alexcrichton submitted PR review:

W.r.t. flags = "..." within *.wast, I'm not opposed but it'll need plumbing through to fuzzing as well where *.wast tests are running with different permutations of flags. That may be relatively difficult to plumb without a sort of "union" operation between to flags-for-config which feels a bit overweight for this. Alternatively though this could be added as a *.wast test and it'll naturally get tested with various permutations of flags, and then this could additionally have a tests/all/*.rs test which sets the specific flags for the regression

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 18:55):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 18:55):

fitzgen created PR review comment:

The wast pooling logic sets different tunables from the GC heap options, so things start breaking. And there isn't a great way to do the unioning of options because we don't expose getters on wasmtime::Config. I'll just rip that stuff out I guess.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 19:09):

fitzgen updated PR #13165.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 19:13):

fitzgen requested alexcrichton for a review on PR #13165.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 19:26):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 19:26):

alexcrichton added PR #13165 Always emit code assuming the GC heap base might be relocated to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 20:07):

alexcrichton merged PR #13165.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 21 2026 at 20:07):

alexcrichton removed PR #13165 Always emit code assuming the GC heap base might be relocated from the merge queue.


Last updated: May 03 2026 at 22:13 UTC