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

Enum ExternalName

cranelift/codegen/src/ir/extname.rs:136–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134#[derive(Debug, Clone, PartialEq, Eq, Hash)]
135#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
136pub enum ExternalName {
137 /// A reference to a name in a user-defined symbol table.
138 User(UserExternalNameRef),
139 /// A test case function name of up to a hardcoded amount of ascii
140 /// characters. This is not intended to be used outside test cases.
141 TestCase(TestcaseName),
142 /// A well-known runtime library function.
143 LibCall(LibCall),
144 /// A well-known symbol.
145 KnownSymbol(KnownSymbol),
146}
147
148impl Default for ExternalName {
149 fn default() -> Self {

Callers 2

finishMethod · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected