mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 21:38:39 +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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user