diff --git a/lib/c-api/src/wasm_c_api/types/export.rs b/lib/c-api/src/wasm_c_api/types/export.rs index 1a9c0301183..919e0927164 100644 --- a/lib/c-api/src/wasm_c_api/types/export.rs +++ b/lib/c-api/src/wasm_c_api/types/export.rs @@ -30,6 +30,9 @@ pub extern "C" fn wasm_exporttype_type( unsafe { et.extern_type.as_ref() } } +#[no_mangle] +pub extern "C" fn wasm_exporttype_delete(_exporttype: Option>) {} + impl From for wasm_exporttype_t { fn from(other: ExportType) -> Self { (&other).into()