comparison build.rs @ 84:a638a45e5f1f

do some real irritating i32/u32 juggling to make bindgen happy
author Paul Fisher <paul@pfish.zone>
date Tue, 10 Jun 2025 02:35:11 -0400
parents 9fc778c03bff
children
comparison
equal deleted inserted replaced
83:9fc778c03bff 84:a638a45e5f1f
15 .allowlist_function("pam_[gs]et_item") 15 .allowlist_function("pam_[gs]et_item")
16 .allowlist_function("pam_get_user") 16 .allowlist_function("pam_get_user")
17 .allowlist_function("pam_get_authtok") 17 .allowlist_function("pam_get_authtok")
18 .allowlist_function("pam_end") 18 .allowlist_function("pam_end")
19 .dynamic_link_require_all(true) 19 .dynamic_link_require_all(true)
20 .default_macro_constant_type(MacroTypeVariation::Signed); 20 .default_macro_constant_type(MacroTypeVariation::Unsigned);
21 21
22 let linux_builder = common_builder 22 let linux_builder = common_builder
23 .clone() 23 .clone()
24 // This function is not available in OpenPAM. 24 // This function is not available in OpenPAM.
25 // We don't use it, but we include it so that if the user 25 // We don't use it, but we include it so that if the user