diff build.rs @ 108:e97534be35e3

Make some proc macros for doing cfg-like stuff for PAM impls.
author Paul Fisher <paul@pfish.zone>
date Sat, 28 Jun 2025 00:34:45 -0400
parents 13b4d2a19674
children 2346fd501b7a
line wrap: on
line diff
--- a/build.rs	Thu Jun 26 22:42:32 2025 -0400
+++ b/build.rs	Sat Jun 28 00:34:45 2025 -0400
@@ -11,7 +11,7 @@
             .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
             .blocklist_type("pam_handle")
             .blocklist_type("pam_conv")
-            .allowlist_var(".*")
+            .blocklist_var(".*")
             .allowlist_function("pam_start")
             .allowlist_function("pam_[gs]et_item")
             .allowlist_function("pam_get_(user|authtok)")