annotate testharness/build.rs @ 190:995aca290452

Restructure the way libpam-sys-impls works to fix cross-compilation. The previous structure of libpam-sys-impls meant that things got confusing (including for me) between what constants were build-time and what constants were run-time. This broke cross-compilation. This simplifies the way that works so that `libpam-sys-impls` has *no* build script itself and is intended mostly as a library to be included in other libraries' build scripts (while also exporting the PamImpl enum).
author Paul Fisher <paul@pfish.zone>
date Sat, 02 Aug 2025 18:47:46 -0400
parents 4f46681b3f54
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
177
9925fa14021b Fix testharness to build warning- and error-free.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
1 fn main() {
9925fa14021b Fix testharness to build warning- and error-free.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
2 libpam_sys_impls::enable_pam_impl_cfg();
183
4f46681b3f54 Catch a few stray cargo fmt things.
Paul Fisher <paul@pfish.zone>
parents: 177
diff changeset
3 }