Home
last modified time | relevance | path

Searched refs:from_binary (Results 1 – 10 of 10) sorted by relevance

/wasmtime-44.0.1/examples/component/
H A Dmain.rs48 let component = Component::from_binary(&engine, &component)?; in main()
/wasmtime-44.0.1/crates/c-api/src/
H A Dmodule.rs38 match Module::from_binary(store.store.context().engine(), binary.as_slice()) { in wasm_module_new()
145 Module::from_binary(&engine.engine, crate::slice_from_raw_parts(wasm, len)), in wasmtime_module_new()
/wasmtime-44.0.1/tests/all/component_model/
H A Daot.rs206 let _ = Component::from_binary(&engine, &binary[0..i]); in truncated_component_binaries_dont_panic()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_artifacts.rs225 checksum: WasmChecksum::from_binary(wasm, self.tunables.recording), in append()
/wasmtime-44.0.1/crates/environ/src/
H A Dmodule_artifacts.rs47 pub fn from_binary(bin: &[u8], recording: bool) -> WasmChecksum { in from_binary() method
58 pub fn from_binary(_: &[u8], _: bool) -> WasmChecksum { in from_binary() method
/wasmtime-44.0.1/crates/bench-api/src/
H A Dlib.rs475 let module = Module::from_binary(self.linker.engine(), bytes)?; in compile()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dcomponent.rs195 pub fn from_binary(engine: &Engine, binary: &[u8]) -> Result<Component> { in from_binary() method
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dmodule.rs324 pub fn from_binary(engine: &Engine, binary: &[u8]) -> Result<Module> { in from_binary() method
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs225 checksum: WasmChecksum::from_binary(binary, tunables.recording), in build_component_artifacts()
/wasmtime-44.0.1/docs/
H A Dcontributing-architecture.md140 entry point for this is the `wasmtime::Module::from_binary` API. There are a