MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / functions

Method functions

crates/cranelift/src/debug.rs:158–165  ·  view source on GitHub ↗

Returns an iterator of all functions with their module, symbol, and function metadata that were produced during compilation.

(
        &self,
    )

Source from the content-addressed store, hash-verified

156 /// Returns an iterator of all functions with their module, symbol, and
157 /// function metadata that were produced during compilation.
158 fn functions(
159 &self,
160 ) -> impl Iterator<Item = (StaticModuleIndex, usize, &'a CompiledFunctionMetadata)> + '_ {
161 self.indexes().map(move |(module, func)| {
162 let (sym, func) = self.function(module, func);
163 (module, sym, func)
164 })
165 }
166
167 /// Returns the symbol and metadata associated with a specific function.
168 fn function(

Callers 1

create_frame_tableFunction · 0.45

Calls 3

indexesMethod · 0.80
mapMethod · 0.45
functionMethod · 0.45

Tested by

no test coverage detected