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

@@ -31,6 +31,7 @@ pub struct wasi_config_t {
inherit_stdout: bool,
inherit_stderr: bool,
inherit_stdin: bool,
/// cbindgen:ignore
state_builder: WasiStateBuilder,
}
@@ -92,6 +93,7 @@ pub extern "C" fn wasi_config_inherit_stdin(config: &mut wasi_config_t) {
#[allow(non_camel_case_types)]
#[repr(C)]
pub struct wasi_env_t {
/// cbindgen:ignore
inner: WasiEnv,
}