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

Method from

cranelift/module/src/module.rs:81–86  ·  view source on GitHub ↗
(id: FuncId)

Source from the content-addressed store, hash-verified

79/// Function identifiers are namespace 0 in `ir::ExternalName`
80impl From<FuncId> for ModuleRelocTarget {
81 fn from(id: FuncId) -> Self {
82 Self::User {
83 namespace: 0,
84 index: id.0,
85 }
86 }
87}
88
89impl FuncId {

Callers

nothing calls this directly

Calls 2

fromFunction · 0.85
CompilationClass · 0.85

Tested by

no test coverage detected