Mercurial > crates > nonstick
comparison libpam-sys/build.rs @ 176:0730f5f2ee2a
Turn `libpam-sys-consts` back into `libpam-sys-impls`.
This moves the constants into `libpam-sys` and makes `libpam-sys-impls`
responsible solely for detecting the current PAM implementation.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 30 Jul 2025 17:53:31 -0400 |
parents | 4b3a5095f68c |
children |
comparison
equal
deleted
inserted
replaced
175:e30775c80b49 | 176:0730f5f2ee2a |
---|---|
1 use libpam_sys_consts::pam_impl; | |
2 | |
3 fn main() { | 1 fn main() { |
4 println!("cargo:rustc-link-lib=pam"); | 2 println!("cargo:rustc-link-lib=pam"); |
5 pam_impl::enable_pam_impl_cfg(); | 3 libpam_sys_impls::enable_pam_impl_cfg(); |
6 } | 4 } |