arjunr2 opened PR #12981 from arjunr2:main to bytecodealliance:main:
This provides methods to compute the exact core wasm ABI encoding of param/result interface types for precise recording/replaying.
arjunr2 requested dicej for a review on PR #12981.
arjunr2 requested wasmtime-core-reviewers for a review on PR #12981.
alexcrichton submitted PR review:
I think that the code here will end up duplicating some functionality elsewhere already in Wasmtime, especially around handling per-type flat ABIs. An example is that
crates/environ/src/fact/signature.rscontains a lot of flattening already for function signatures, although not of the exact same shape and form of here. Notably as wellTypeInformationalready has various helpers and such to push in more flat information. Would it be possible to reuse/refactor the existing implementations instead of adding another?
arjunr2 commented on PR #12981:
I think
TypeInformationcould be refactored to share the implementation for this. I'll give that a shot
Last updated: Apr 12 2026 at 23:10 UTC