Hi ! Is there a way to get a wasmtime::Func from a function index ?
That would be an equivalent of ref.func x but from host and with index known at runtime.
as an embedder you can only access exports of an instance, so you can't access arbitrary internals. You can access an exported table, however, or the module could return a funcref through an export
Last updated: Dec 06 2025 at 06:05 UTC