Mercurial > crates > nonstick
view testharness/Cargo.toml @ 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 | 42f747774d94 |
children |
line wrap: on
line source
[package] name = "nonstick-testharness" description = "End-to-end testing for the Nonstick PAM library." publish = false license.workspace = true version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true [lib] crate-type = ["cdylib"] [features] basic-ext = ["nonstick/basic-ext"] linux-pam-ext = ["nonstick/linux-pam-ext"] openpam-ext = ["nonstick/openpam-ext"] sun-ext = ["nonstick/sun-ext"] [dependencies] nonstick = { path = "..", features = ["link"], default-features = false } [build-dependencies] libpam-sys-impls = { path = "../libpam-sys/libpam-sys-impls" }