comparison libpam-sys/libpam-sys-test/build.rs @ 118:39760dfc9b3b

Detect PAM library based only on system lib; rename minimal lib to XSso. Also formats and assorted other cleanup.
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Jun 2025 20:13:03 -0400
parents 93d423b65555
children 397743cb70e2
comparison
equal deleted inserted replaced
117:20f7712a6857 118:39760dfc9b3b
16 "security/_pam_types.h".into(), 16 "security/_pam_types.h".into(),
17 "security/pam_appl.h".into(), 17 "security/pam_appl.h".into(),
18 "security/pam_ext.h".into(), 18 "security/pam_ext.h".into(),
19 "security/pam_modules.h".into(), 19 "security/pam_modules.h".into(),
20 ], 20 ],
21 ignore_consts: vec!["__LINUX_PAM__".into(), "__LINUX_PAM_MINOR__".into()], 21 ignore_consts: vec![
22 "__LINUX_PAM__".into(),
23 "__LINUX_PAM_MINOR__".into(),
24 "PAM_AUTHTOK_RECOVER_ERR".into(),
25 ],
22 } 26 }
23 } 27 }
24 28
25 #[cfg_pam_impl("OpenPam")] 29 #[cfg_pam_impl("OpenPam")]
26 fn test_config() -> TestConfig { 30 fn test_config() -> TestConfig {