Loading openssl-sys/build/run_bindgen.rs +6 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,12 @@ pub fn run(include_dir: &Path) { .parse_callbacks(Box::new(OpensslCallbacks)) .rust_target(RustTarget::Stable_1_47) .ctypes_prefix("::libc") .allowlist_type("OPENSSL.*") .allowlist_type("CRYPTO.*") .allowlist_type("EVP.*") .allowlist_function("OPENSSL.*") .allowlist_function("CRYPTO.*") .allowlist_function("EVP.*") .clang_arg("-I") .clang_arg(include_dir.display().to_string()) .header_contents("includes.h", INCLUDES) Loading Loading
openssl-sys/build/run_bindgen.rs +6 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,12 @@ pub fn run(include_dir: &Path) { .parse_callbacks(Box::new(OpensslCallbacks)) .rust_target(RustTarget::Stable_1_47) .ctypes_prefix("::libc") .allowlist_type("OPENSSL.*") .allowlist_type("CRYPTO.*") .allowlist_type("EVP.*") .allowlist_function("OPENSSL.*") .allowlist_function("CRYPTO.*") .allowlist_function("EVP.*") .clang_arg("-I") .clang_arg(include_dir.display().to_string()) .header_contents("includes.h", INCLUDES) Loading