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

Method name

crates/wasmtime/src/runtime/trap.rs:667–669  ·  view source on GitHub ↗

Returns the function name associated with this symbol. Note that this may not be present with malformed debug information, or the debug information may not include it. Also note that the symbol is frequently mangled, so you might need to run some form of demangling over it.

(&self)

Source from the content-addressed store, hash-verified

665 /// frequently mangled, so you might need to run some form of demangling
666 /// over it.
667 pub fn name(&self) -> Option<&str> {
668 self.name.as_deref()
669 }
670
671 /// Returns the source code filename this symbol was defined in.
672 ///

Callers 6

register_moduleMethod · 0.45
check_compatibleFunction · 0.45
section_nameFunction · 0.45
_serializeMethod · 0.45
fmtMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected