Mercurial > crates > nonstick
diff build.rs @ 116:a12706e42c9d default tip
Logging, macros, and building:
- Changes logging API to accept the `Location` of the log statement.
Fixes OpenPAM implementation.
- Stops publicly exporting doc macros.
- Uses dlopen to detect the PAM library rather than header jankery.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Jun 2025 18:27:51 -0400 |
parents | 2346fd501b7a |
children |
line wrap: on
line diff
--- a/build.rs Sun Jun 29 03:35:59 2025 -0400 +++ b/build.rs Sun Jun 29 18:27:51 2025 -0400 @@ -43,7 +43,7 @@ // This function is not available in Linux-PAM. // That means if somebody tries to run a binary compiled for // OpenPAM against a different impl, it will fail. - .allowlist_function("openpam_log") + .allowlist_function("_openpam_log") .header_contents( "openpam.h", r#"