Stream: git-wasmtime

Topic: wasmtime / PR #15173 Give core Wasm translation the enclo...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:58):

fitzgen opened PR #15173 from fitzgen:enclosing-component-in-core-translation to bytecodealliance:main:

Getting the handle-table slots array's base pointer requires the component's own
offsets rather than just the pointer size, but we do the inline translation of
FACT trampolines in a FuncEnvironment that only has an AliasRegions<VMOffsets>.
Therefore, core Wasm translation now has an Option<AliasRegions<VMComponentOffsets>>
for core modules compiled as part of a component.

Depends on https://github.com/bytecodealliance/wasmtime/pull/15171

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:58):

fitzgen removed the review request for wasmtime-compiler-reviewers from PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:58):

fitzgen requested cfallin for a review on PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:58):

fitzgen requested wasmtime-compiler-reviewers for a review on PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 05 2026 at 21:58):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 00:49):

github-actions[bot] added the label wasmtime:api on PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 00:49):

github-actions[bot] added the label winch on PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 01:44):

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

Subscribe to Label Action

cc @saulecabrera

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

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 (Nov 06 2026 at 19:22):

:thumbs_up: cfallin submitted PR review:

LGTM on second commit

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 19:22):

:speech_balloon: cfallin created PR review comment:

It's too bad that the macro-expander doesn't do tail recursion...? (Or are we not tail-recursive in this macro and if so, is there a way we could refactor so we are?)

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 19:48):

:memo: fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 19:48):

:speech_balloon: fitzgen created PR review comment:

I do believe that tail recursion is more efficient for rustc but since it doesn't have loops, the recursion limit is really just fuel for macro expansion in general.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 20:30):

fitzgen updated PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 20:31):

fitzgen has enabled auto merge for PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 20:41):

fitzgen added PR #15173 Give core Wasm translation the enclosing component's alias regions to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 21:04):

fitzgen removed PR #15173 Give core Wasm translation the enclosing component's alias regions from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 06 2026 at 21:04):

:check: fitzgen merged PR #15173.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 14:49):

:memo: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 14:49):

:speech_balloon: alexcrichton created PR review comment:

How come this was needed? Shouldn't this be covered by VmPtr<_> above?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 14:49):

:speech_balloon: alexcrichton created PR review comment:

Can this use #[expect] in the future to guarantee that this isn't forgotten to be removed?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 22:24):

:memo: fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 22:24):

:speech_balloon: fitzgen created PR review comment:

It's because the >> becomes its own token I believe.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 22:27):

:memo: fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 09 2026 at 22:27):

:speech_balloon: fitzgen created PR review comment:

Removed in https://github.com/bytecodealliance/wasmtime/pull/15208


Last updated: Nov 19 2026 at 20:05 UTC