Stream: git-wasmtime

Topic: wasmtime / PR #12540 only remove `_initialize` function f...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2026 at 23:55):

dicej requested alexcrichton for a review on PR #12540.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2026 at 23:56):

dicej opened PR #12540 from dicej:wizer-initialize-fix to bytecodealliance:main:

Removing _initialize from snapshots of wit-component-produced components leads to invalid inputs because it breaks the alias wit-component creates. Moreover, removing that function is redundant because it is only called from a start function which is also removed during snapshotting.

Ideally, removing _initialize and any aliases which point to it would be taken care of a general-purpose component dead code removal tool, but no such tool exists yet. In the meantime, leaving it there creates a bit of code bloat but is otherwise harmless.

<!--
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 (Feb 06 2026 at 23:56):

dicej requested wasmtime-core-reviewers for a review on PR #12540.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2026 at 00:13):

alexcrichton submitted PR review:

r=me with a test

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2026 at 02:32):

github-actions[bot] added the label wizer on PR #12540.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2026 at 02:33):

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

Subscribe to Label Action

cc @fitzgen

<details>
This issue or pull request has been labeled: "wizer"

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 (Feb 09 2026 at 16:49):

dicej updated PR #12540.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2026 at 16:50):

dicej has enabled auto merge for PR #12540.

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

dicej updated PR #12540.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2026 at 17:35):

dicej added PR #12540 only remove _initialize function from module snapshots to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2026 at 17:58):

dicej merged PR #12540.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2026 at 17:58):

dicej removed PR #12540 only remove _initialize function from module snapshots from the merge queue.


Last updated: Feb 24 2026 at 04:36 UTC