Mercurial > crates > nonstick
comparison build.rs @ 110:2346fd501b7a
Add tests for constants and do other macro niceties.
- Adds tests for all the constants. Pretty sweet.
- Moves documentation for cfg-pam-impl macro to `libpam-sys`.
- Renames `Illumos` to `Sun`.
- other stuff
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Jun 2025 02:15:46 -0400 |
parents | e97534be35e3 |
children |
comparison
equal
deleted
inserted
replaced
109:bb465393621f | 110:2346fd501b7a |
---|---|
30 // Linux-PAM against a different impl, it will fail. | 30 // Linux-PAM against a different impl, it will fail. |
31 .allowlist_function("pam_syslog") | 31 .allowlist_function("pam_syslog") |
32 .header_contents( | 32 .header_contents( |
33 "linux-pam.h", | 33 "linux-pam.h", |
34 r#" | 34 r#" |
35 #include <syslog.h> // for log levels | |
36 #include <security/_pam_types.h> | 35 #include <security/_pam_types.h> |
37 #include <security/pam_appl.h> | 36 #include <security/pam_appl.h> |
38 #include <security/pam_ext.h> | 37 #include <security/pam_ext.h> |
39 #include <security/pam_modules.h> | 38 #include <security/pam_modules.h> |
40 "#, | 39 "#, |