Unverified Commit 272af680 authored by Steven Fackler's avatar Steven Fackler
Browse files

Limit to openssl items

parent ac70ee09
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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)