Mercurial > crates > nonstick
changeset 128:ad77f2af5ff4 default tip
Fix `rustc-check-cfg` in `libpam-sys/build.rs`.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 30 Jun 2025 23:00:53 -0400 |
parents | c77846f3a979 |
children | |
files | libpam-sys/build.rs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpam-sys/build.rs Mon Jun 30 22:56:26 2025 -0400 +++ b/libpam-sys/build.rs Mon Jun 30 23:00:53 2025 -0400 @@ -8,6 +8,6 @@ let pam_impl_strs: Vec<_> = PamImpl::iter().map(|e| format!("\"{:?}\"", e)).collect(); let pam_impls = pam_impl_strs.join(","); // We use this for ctest. Don't do what we've done; just use cfg_pam_impl. - println!("cargo:check-cfg=cfg(_private_pam_impl_hack, values({pam_impls}))"); + println!("cargo:rustc-check-cfg=cfg(_private_pam_impl_hack, values({pam_impls}))"); println!("cargo:rustc-cfg=_private_pam_impl_hack=\"{:?}\"", PamImpl::CURRENT); }