Lines Matching refs:Component
3 use wasmtime::component::{Component, Linker, Type};
10 let component = Component::new(&engine, "(component)")?.serialize()?; in module_component_mismatch()
14 assert!(Component::deserialize(&engine, &module).is_err()); in module_component_mismatch()
23 let component = Component::new(&engine, "(component)")?.serialize()?; in bare_bones()
26 let component = unsafe { Component::deserialize(&engine, &component)? }; in bare_bones()
37 let component = Component::new( in mildly_more_interesting()
64 let component = unsafe { Component::deserialize(&engine, &component)? }; in mildly_more_interesting()
76 let buffer1 = Component::new(&engine, "(component (core module))")?.serialize()?; in deserialize_from_serialized()
77 let buffer2 = unsafe { Component::deserialize(&engine, &buffer1)?.serialize()? }; in deserialize_from_serialized()
89 let component = Component::new( in cannot_serialize_exported_module()
107 let component = Component::new( in usable_exported_modules()
129 let buffer = Component::new(&engine, "(component)")?.serialize()?; in detect_precompiled()
134 Some(Precompiled::Component) in detect_precompiled()
142 let c = Component::new( in reflect_resource_import()
206 let _ = Component::from_binary(&engine, &binary[0..i]); in truncated_component_binaries_dont_panic()