(
linker: &wasmtime_linker_t,
store: WasmtimeStoreContextMut<'_>,
module: &wasmtime_module_t,
instance_ptr: &mut Instance,
trap_ptr: &mut *mut wasm_trap_t,
)
| 135 | |
| 136 | #[unsafe(no_mangle)] |
| 137 | pub extern "C" fn wasmtime_linker_instantiate( |
| 138 | linker: &wasmtime_linker_t, |
| 139 | store: WasmtimeStoreContextMut<'_>, |
| 140 | module: &wasmtime_module_t, |
| 141 | instance_ptr: &mut Instance, |
| 142 | trap_ptr: &mut *mut wasm_trap_t, |
| 143 | ) -> Option<Box<wasmtime_error_t>> { |
| 144 | let result = linker.linker.instantiate(store, &module.module); |
| 145 | super::instance::handle_instantiate(result, instance_ptr, trap_ptr) |
| 146 | } |
| 147 | |
| 148 | #[unsafe(no_mangle)] |
| 149 | pub unsafe extern "C" fn wasmtime_linker_instantiate_pre( |
no test coverage detected