alexcrichton opened PR #4246 from update-wasm-tools
to main
:
This commit updates the wasm-tools family of crates, notably pulling in
the refactorings and updates from bytecodealliance/wasm-tools#621 for
the latest iteration of the component model. This commit additionally
updates all support for the component model for these changes, notably:
Many bits and pieces of type information was refactored. Many
FooTypeIndex
namings are nowTypeFooIndex
. Additionally there is
nowTypeIndex
as well asComponentTypeIndex
for the two type index
spaces in a component.A number of new sections are now processed to handle the core and
component variants.Internal maps were split such as the
funcs
map into
component_funcs
andfuncs
(same forinstances
).Canonical options are now processed individually instead of one bulk
into
definition.Overall this was not a major update to the internals of handling the
component model in Wasmtime. Instead this was mostly a surface-level
refactoring to make sure that everything lines up with the new binary
format for components.
- All text syntax used in tests was updated to the new syntax.
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
alexcrichton requested peterhuene for a review on PR #4246.
peterhuene submitted PR review.
peterhuene created PR review comment:
Nit: I think this doc comment is wrong?
peterhuene created PR review comment:
Nit: TODO doc comment.
peterhuene created PR review comment:
Nit: TODO doc comment.
peterhuene submitted PR review.
alexcrichton updated PR #4246 from update-wasm-tools
to main
.
alexcrichton updated PR #4246 from update-wasm-tools
to main
.
alexcrichton has marked PR #4246 as ready for review.
alexcrichton merged PR #4246.
Last updated: Nov 22 2024 at 17:03 UTC