comparison build.rs @ 134:6c1e1bdb4164

Use standard #[cfg] directives rather than custom proc macros. Instead of having to do a bunch of custom parsing and other logic that tools often choke on, this change introduces an easy way to depend upon custom #[cfg]s provided by the libpam-sys crate.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:03:36 -0400
parents
children efbc235f01d3
comparison
equal deleted inserted replaced
133:32b2a545ca3e 134:6c1e1bdb4164
1 use libpam_sys::pam_impl;
2
3 fn main() {
4 println!("{}", pam_impl::enable_pam_impl_cfg())
5 }