mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 22:28:21 +00:00
feat(c-api) Implement wasm_extern_copy.
This patch also moves `wasm_extern_delete` into the correct Rust module.
This commit is contained in:
@@ -524,12 +524,6 @@ pub unsafe extern "C" fn wasi_get_start_function(
|
||||
}))
|
||||
}
|
||||
|
||||
/// Delete a `wasm_extern_t` allocated by the API.
|
||||
///
|
||||
/// cbindgen:ignore
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn wasm_extern_delete(_item: Option<Box<wasm_extern_t>>) {}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use inline_c::assert_c;
|
||||
|
||||
Reference in New Issue
Block a user