MangoPeachGrape opened issue #11438:
(Part of the outstanding items of the component model: https://github.com/bytecodealliance/wasmtime/issues/8036#issuecomment-3129666977)
There is currently no way to get the type of a function, i.e. the parameters and the return type.
See this implementation in the #9812 PR: https://github.com/bytecodealliance/wasmtime/blob/f14d4579ceb535552e18df7c905a9bffae8eafd3/crates/c-api/include/wasmtime/component.h#L312-L400
alexcrichton added the wasmtime:c-api label to Issue #11438.
alexcrichton added the wasm-proposal:component-model label to Issue #11438.
alexcrichton closed issue #11438:
(Part of the outstanding items of the component model: https://github.com/bytecodealliance/wasmtime/issues/8036#issuecomment-3129666977)
There is currently no way to get the type of a function, i.e. the parameters and the return type.
See this implementation in the #9812 PR: https://github.com/bytecodealliance/wasmtime/blob/f14d4579ceb535552e18df7c905a9bffae8eafd3/crates/c-api/include/wasmtime/component.h#L312-L400
Last updated: Dec 06 2025 at 07:03 UTC