Struct wasmtime_environ::ModuleTranslation [−][src]
pub struct ModuleTranslation<'data> {
pub module: Module,
pub function_body_inputs: PrimaryMap<DefinedFuncIndex, FunctionBodyData<'data>>,
pub debuginfo: DebugInfoData<'data>,
pub has_unparsed_debuginfo: bool,
// some fields omitted
}Expand description
The result of translating via ModuleEnvironment. Function bodies are not
yet translated, and data initializers have not yet been copied out of the
original buffer.
Fields
module: ModuleModule information.
function_body_inputs: PrimaryMap<DefinedFuncIndex, FunctionBodyData<'data>>References to the function bodies.
debuginfo: DebugInfoData<'data>DWARF debug information, if enabled, parsed from the module.
has_unparsed_debuginfo: boolSet if debuginfo was found but it was not parsed due to Tunables
configuration.
Trait Implementations
Returns the “default value” for a type. Read more