Skip to content

Add Component::{text,address_map,functions} methods#13073

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
fitzgen:add-address-map-to-components
Apr 13, 2026
Merged

Add Component::{text,address_map,functions} methods#13073
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
fitzgen:add-address-map-to-components

Conversation

@fitzgen

@fitzgen fitzgen commented Apr 13, 2026

Copy link
Copy Markdown
Member

These are similar to the methods with the same names on Module.

Also publicly export ModuleFunction, since it is returned by Module::functions (and now also Component::functions).

Also publicly re-export StaticModuleIndex and FuncIndex, since they appear inside ModuleFunction.

These are similar to the methods with the same names on `Module`.

Also publicly export `ModuleFunction`, since it is returned by
`Module::functions` (and now also `Component::functions`).

Also publicly re-export `StaticModuleIndex` and `FuncIndex`, since they appear
inside `ModuleFunction`.
@fitzgen fitzgen requested a review from a team as a code owner April 13, 2026 19:10
@fitzgen fitzgen requested review from alexcrichton and removed request for a team April 13, 2026 19:10
@alexcrichton alexcrichton enabled auto-merge April 13, 2026 19:25
@alexcrichton alexcrichton added this pull request to the merge queue Apr 13, 2026
@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Apr 13, 2026
Merged via the queue into bytecodealliance:main with commit cb6f392 Apr 13, 2026
48 checks passed
@fitzgen fitzgen deleted the add-address-map-to-components branch April 13, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants