view libpam-sys/libpam-sys-helpers/build.rs @ 157:0099f2f79f86

Switch logging interface to accept fmt::Arguments. This means that we don't have to format arguments eagerly when logging; an implementation could choose to discard them if it wanted to, avoiding allocations and expensive format calls.
author Paul Fisher <paul@pfish.zone>
date Wed, 09 Jul 2025 16:59:30 -0400
parents 4b3a5095f68c
children 0730f5f2ee2a
line wrap: on
line source

use libpam_sys_consts::pam_impl;

fn main() {
    println!("cargo:rustc-link-lib=pam");
    pam_impl::enable_pam_impl_cfg();
}