Stream: git-wasmtime

Topic: wasmtime / PR #12576 RR #2: Sha256 checksum for components


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

arjunr2 opened PR #12576 from arjunr2:main to bytecodealliance:main:

Added checksum computations for components

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

arjunr2 requested wasmtime-core-reviewers for a review on PR #12576.

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

arjunr2 requested wasmtime-default-reviewers for a review on PR #12576.

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

arjunr2 requested pchickey for a review on PR #12576.

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

cfallin submitted PR review.

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

cfallin created PR review comment:

We'll need to make this a workspace dep instead (see other lines around this one, and put the actual dep in the root Cargo.toml's workspace.dependencies section), and one of the core maintainers will need to vet the crate and any transitive deps.

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

cfallin created PR review comment:

Should we make this optional, only if recording is enabled? For large module compilation, one single additional pass of a digest algorithm over machine code bytes is probably not much extra overhead; but it may still be measurable in some cases and I wouldn't want to pessimize unrelated runs.

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

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

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

arjunr2 updated PR #12576.

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

arjunr2 requested wasmtime-wasi-reviewers for a review on PR #12576.

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

arjunr2 submitted PR review.

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

arjunr2 created PR review comment:

Do you mean optional based on feature flags or optional based on the config option?

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

cfallin submitted PR review.

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

cfallin created PR review comment:

Probably based on a dynamic check of the configuration -- eventually we'll probably have the RR feature included by default (if all goes well), but we don't necessarily want to compute a digest of everything we build.

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

arjunr2 submitted PR review.

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

arjunr2 created PR review comment:

I guess regardless that'll require a rr feature flags on environ then. Would the checksum just be 0 when recording is disabled?

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

cfallin submitted PR review.

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

cfallin created PR review comment:

Yes, I think so.

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

arjunr2 updated PR #12576.

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

arjunr2 commented on PR #12576:

I've made the checksum computation optional. Since the compilation flows only have access to Tunables, there's a new field there to signal recording now.

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

cfallin submitted PR review:

LGTM modulo one nit below; with that fixed, and with CI green, we can merge. Thanks!

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

cfallin created PR review comment:

Small style nit but we prefer cfg directives at coarser granularity if possible, to avoid confusing mistakes and hard-to-read code -- would you mind putting the cfg on two variants of from_binary?

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

arjunr2 updated PR #12576.

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

cfallin submitted PR review:

LGTM, thanks!

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

cfallin added PR #12576 RR #2: Sha256 checksum for components to the merge queue.

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

cfallin merged PR #12576.

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

cfallin removed PR #12576 RR #2: Sha256 checksum for components from the merge queue.


Last updated: Feb 24 2026 at 04:36 UTC