Mercurial > crates > nonstick
view libpam-sys/libpam-sys-test/tests/runner.rs @ 136:efbc235f01d3
Separate libpam-sys-helpers from libpam-sys.
This separates the parts of libpam-sys that don't need linking against libpam
from the parts that do need to link against libpam.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 03 Jul 2025 14:28:04 -0400 |
parents | 32b2a545ca3e |
children | 88627c057709 |
line wrap: on
line source
#![allow(unused_imports)] mod constants { include!(concat!(env!("OUT_DIR"), "/constant_test.rs")); #[test] fn test_constants() { main() } } #[allow(clippy::all)] mod ctest { use libc::*; use libpam_sys::*; include!(concat!(env!("OUT_DIR"), "/ctest.rs")); #[test] fn test_c() { main(); } }