(module: &wasm_module_t, ret: &mut wasm_byte_vec_t)
| 110 | #[unsafe(no_mangle)] |
| 111 | #[cfg(any(feature = "cranelift", feature = "winch"))] |
| 112 | pub extern "C" fn wasm_module_serialize(module: &wasm_module_t, ret: &mut wasm_byte_vec_t) { |
| 113 | if let Ok(buf) = module.module.serialize() { |
| 114 | ret.set_buffer(buf); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | #[unsafe(no_mangle)] |
| 119 | pub unsafe extern "C" fn wasm_module_deserialize( |
nothing calls this directly
no test coverage detected