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

Method instance_flags

crates/wasmtime/src/runtime/vm/component.rs:366–372  ·  view source on GitHub ↗
(&self, instance: RuntimeComponentInstanceIndex)

Source from the content-addressed store, hash-verified

364 /// for canonical lowering and lifting operations.
365 #[inline]
366 pub fn instance_flags(&self, instance: RuntimeComponentInstanceIndex) -> InstanceFlags {
367 unsafe {
368 let ptr = self
369 .vmctx_plus_offset_raw::<VMGlobalDefinition>(self.offsets.instance_flags(instance));
370 InstanceFlags(SendSyncPtr::new(ptr))
371 }
372 }
373
374 /// Returns the runtime memory definition corresponding to the index of the
375 /// memory provided.

Callers 7

abi_infoMethod · 0.45
post_return_implMethod · 0.45
queue_callMethod · 0.45
definitionMethod · 0.45
initialize_vmctxMethod · 0.45

Calls 2

InstanceFlagsClass · 0.85
newFunction · 0.50

Tested by

no test coverage detected