Searched refs:from_binary (Results 1 – 10 of 10) sorted by relevance
| /wasmtime-44.0.1/examples/component/ |
| H A D | main.rs | 48 let component = Component::from_binary(&engine, &component)?; in main()
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | module.rs | 38 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 D | aot.rs | 206 let _ = Component::from_binary(&engine, &binary[0..i]); in truncated_component_binaries_dont_panic()
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_artifacts.rs | 225 checksum: WasmChecksum::from_binary(wasm, self.tunables.recording), in append()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module_artifacts.rs | 47 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 D | lib.rs | 475 let module = Module::from_binary(self.linker.engine(), bytes)?; in compile()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | component.rs | 195 pub fn from_binary(engine: &Engine, binary: &[u8]) -> Result<Component> { in from_binary() method
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | module.rs | 324 pub fn from_binary(engine: &Engine, binary: &[u8]) -> Result<Module> { in from_binary() method
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | compile.rs | 225 checksum: WasmChecksum::from_binary(binary, tunables.recording), in build_component_artifacts()
|
| /wasmtime-44.0.1/docs/ |
| H A D | contributing-architecture.md | 140 entry point for this is the `wasmtime::Module::from_binary` API. There are a
|