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

Method _get

crates/wasmtime/src/runtime/linker.rs:1305–1311  ·  view source on GitHub ↗
(&self, module: &str, name: &str)

Source from the content-addressed store, hash-verified

1303 }
1304
1305 fn _get(&self, module: &str, name: &str) -> Option<&Definition> {
1306 let key = ImportKey {
1307 module: self.pool.get_atom(module)?,
1308 name: Some(self.pool.get_atom(name)?),
1309 };
1310 self.map.get(&key)
1311 }
1312
1313 /// Looks up a value in this `Linker` which matches the `import` type
1314 /// provided.

Callers 2

getMethod · 0.45
_get_by_importMethod · 0.45

Calls 2

get_atomMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected