We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c19fa0 commit df3a44cCopy full SHA for df3a44c
mbedtls-sys/build/bindgen.rs
@@ -100,12 +100,14 @@ impl super::BuildConfig {
100
};
101
}
102
103
-
+
104
// generate static function wrappers without any other rust related parameters to ensure
105
// correctness of result C code
106
bindgen::builder()
107
.clang_args(cc.get_compiler().args().iter().map(|arg| arg.to_str().unwrap()))
108
.header_contents("bindgen-input.h", &header)
109
+ .allowlist_function("^(?i)mbedtls_.*")
110
+ .allowlist_function("^(?i)psa_.*")
111
.wrap_static_fns(true)
112
.wrap_static_fns_path(&self.static_wrappers_c)
113
.generate().expect("bindgen error");
0 commit comments