diff options
Diffstat (limited to 'src/rust/unit-wasm-sys/build.rs')
-rw-r--r-- | src/rust/unit-wasm-sys/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rust/unit-wasm-sys/build.rs b/src/rust/unit-wasm-sys/build.rs index 507099b..1f41afa 100644 --- a/src/rust/unit-wasm-sys/build.rs +++ b/src/rust/unit-wasm-sys/build.rs @@ -36,6 +36,9 @@ fn generate_bindings() { .allowlist_function("^luw_.*") .allowlist_var("^luw_.*") .allowlist_type("^luw_.*") + .default_enum_style(bindgen::EnumVariation::Rust { + non_exhaustive: false, + }) .generate() .expect("Unable to generate bindings"); |