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

Method is_final

cranelift/module/src/module.rs:194–199  ·  view source on GitHub ↗

Test whether this linkage will have a definition that cannot be preempted.

(self)

Source from the content-addressed store, hash-verified

192
193 /// Test whether this linkage will have a definition that cannot be preempted.
194 pub fn is_final(self) -> bool {
195 match self {
196 Self::Import | Self::Preemptible => false,
197 Self::Local | Self::Hidden | Self::Export => true,
198 }
199 }
200}
201
202/// A declared name may refer to either a function or data declaration

Callers 2

declare_func_in_funcMethod · 0.45
declare_data_in_funcMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected