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

Method requires_definition

cranelift/module/src/module.rs:186–191  ·  view source on GitHub ↗

Test whether this linkage must have a definition.

(self)

Source from the content-addressed store, hash-verified

184
185 /// Test whether this linkage must have a definition.
186 pub fn requires_definition(self) -> bool {
187 match self {
188 Self::Import | Self::Preemptible => false,
189 Self::Local | Self::Hidden | Self::Export => true,
190 }
191 }
192
193 /// Test whether this linkage will have a definition that cannot be preempted.
194 pub fn is_final(self) -> bool {

Callers 1

finishMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected