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

Method abi_info

crates/wasmtime/src/runtime/component/func.rs:391–410  ·  view source on GitHub ↗
(
        &self,
        store: &'a StoreOpaque,
    )

Source from the content-addressed store, hash-verified

389 }
390
391 pub(crate) fn abi_info<'a>(
392 &self,
393 store: &'a StoreOpaque,
394 ) -> (
395 OptionsIndex,
396 InstanceFlags,
397 TypeFuncIndex,
398 &'a CanonicalOptions,
399 ) {
400 let vminstance = self.instance.id().get(store);
401 let component = vminstance.component();
402 let (ty, _def, options_index) = component.export_lifted_function(self.index);
403 let raw_options = &component.env_component().options[options_index];
404 (
405 options_index,
406 vminstance.instance_flags(raw_options.instance),
407 ty,
408 raw_options,
409 )
410 }
411
412 /// Invokes the underlying wasm function, lowering arguments and lifting the
413 /// result.

Callers 5

call_rawMethod · 0.80
with_lower_contextMethod · 0.80
with_lift_contextMethod · 0.80
prepare_callFunction · 0.80
queue_call0Function · 0.80

Calls 6

env_componentMethod · 0.80
getMethod · 0.45
idMethod · 0.45
componentMethod · 0.45
instance_flagsMethod · 0.45

Tested by

no test coverage detected