Mercurial > crates > nonstick
diff libpam-sys/libpam-sys-impls/build.rs @ 109:bb465393621f
Minor cleanup and reorg.
- Use those nice new macros we just implemented.
- Straighten out the macro file.
- Move the `BinaryPayload` into `structs.rs`, leaving helpers behind.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 28 Jun 2025 02:49:35 -0400 |
parents | e97534be35e3 |
children | 2346fd501b7a |
line wrap: on
line diff
--- a/libpam-sys/libpam-sys-impls/build.rs Sat Jun 28 00:34:45 2025 -0400 +++ b/libpam-sys/libpam-sys-impls/build.rs Sat Jun 28 02:49:35 2025 -0400 @@ -37,8 +37,8 @@ } Some(other) => match PamImpl::try_from(other) { Ok(i) => i, - Err(_) => panic!("unknown PAM implementation {other:?}") - } + Err(_) => panic!("unknown PAM implementation {other:?}"), + }, }; println!("cargo:rustc-env=LIBPAMSYS_IMPL={pam_impl:?}"); }