# HG changeset patch # User Paul Fisher # Date 1753912814 14400 # Node ID 9925fa14021bc8c6566cdecc4156aff1d13534a0 # Parent 0730f5f2ee2ad887fa955b1a8fcd5a426f915386 Fix testharness to build warning- and error-free. diff -r 0730f5f2ee2a -r 9925fa14021b Cargo.lock --- a/Cargo.lock Wed Jul 30 17:53:31 2025 -0400 +++ b/Cargo.lock Wed Jul 30 18:00:14 2025 -0400 @@ -106,6 +106,7 @@ version = "0.0.8-alpha0" dependencies = [ "anyhow", + "libpam-sys-impls", "nonstick", "test-cdylib", "thiserror", diff -r 0730f5f2ee2a -r 9925fa14021b testharness/Cargo.toml --- a/testharness/Cargo.toml Wed Jul 30 17:53:31 2025 -0400 +++ b/testharness/Cargo.toml Wed Jul 30 18:00:14 2025 -0400 @@ -12,7 +12,6 @@ crate-type = ["cdylib"] [features] -default = ["basic-ext"] basic-ext = ["nonstick/basic-ext"] linux-pam-ext = ["nonstick/linux-pam-ext"] openpam-ext = ["nonstick/openpam-ext"] @@ -22,6 +21,9 @@ [dependencies] nonstick = { path = "..", features = ["link"], default-features = false } +[build-dependencies] +libpam-sys-impls = { path = "../libpam-sys/libpam-sys-impls" } + [dev-dependencies] anyhow = "1.0.98" test-cdylib = "1.1.0" diff -r 0730f5f2ee2a -r 9925fa14021b testharness/build.rs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testharness/build.rs Wed Jul 30 18:00:14 2025 -0400 @@ -0,0 +1,3 @@ +fn main() { + libpam_sys_impls::enable_pam_impl_cfg(); +} \ No newline at end of file