mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 21:58:20 +00:00
feat(c-api) Use our fork of cbindgen.
Our fork contains incoming PR. It helps for example to skip struct fields.
This commit is contained in:
@@ -10,7 +10,9 @@ use wasmer::{Function, Instance, RuntimeError, Store, Val};
|
||||
|
||||
#[repr(C)]
|
||||
pub struct wasm_func_t {
|
||||
/// cbindgen:ignore
|
||||
pub(crate) inner: Function,
|
||||
/// cbindgen:ignore
|
||||
// this is how we ensure the instance stays alive
|
||||
pub(crate) instance: Option<Arc<Instance>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user