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:
Ivan Enderlin
2020-09-24 16:15:04 +02:00
parent 1a0527af78
commit 174b03f4e9
18 changed files with 55 additions and 33 deletions

View File

@@ -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>>,
}