Home
last modified time | relevance | path

Searched refs:LinkerInstance (Results 1 – 5 of 5) sorted by relevance

/wasmtime-44.0.1/crates/c-api/include/wasmtime/component/
H A Dlinker.hh28 class LinkerInstance { class
29 WASMTIME_OWN_WRAPPER(LinkerInstance, wasmtime_component_linker_instance);
50 Result<LinkerInstance> add_instance(std::string_view name) { in add_instance()
57 return LinkerInstance(ret); in add_instance()
165 LinkerInstance root() { in root()
168 return LinkerInstance(instance_capi); in root()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dlinker.rs94 pub struct LinkerInstance<'a, T: 'static> { struct
142 pub fn root(&mut self) -> LinkerInstance<'_, T> { in root()
143 LinkerInstance { in root()
159 pub fn instance(&mut self, name: &str) -> Result<LinkerInstance<'_, T>> { in instance()
318 linker: &mut LinkerInstance<T>, in define_unknown_imports_as_traps()
377 impl<T: 'static> LinkerInstance<'_, T> { impl
378 fn as_mut(&mut self) -> LinkerInstance<'_, T> { in as_mut()
379 LinkerInstance { in as_mut()
810 pub fn instance(&mut self, name: &str) -> Result<LinkerInstance<'_, T>> { in instance()
H A Dmod.rs132 pub use self::linker::{Linker, LinkerInstance};
/wasmtime-44.0.1/crates/c-api/src/component/
H A Dlinker.rs6 use wasmtime::component::{Instance, Linker, LinkerInstance, Val};
17 pub(crate) linker_instance: LinkerInstance<'a, WasmtimeStoreData>,
/wasmtime-44.0.1/crates/c-api/tests/component/
H A Dvalues.cc873 LinkerInstance i = linker.root(); in TEST()