1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

make cargo fmt happy

This commit is contained in:
Etienne Cordonnier 2025-03-16 00:20:59 +01:00
parent 591bef3759
commit f084b7f168

View file

@ -70,20 +70,20 @@ macro_rules! chars2string {
mod ut { mod ut {
pub static DEFAULT_FILE: &str = "/var/run/utmp"; pub static DEFAULT_FILE: &str = "/var/run/utmp";
#[cfg(not(target_env = "musl"))]
pub use libc::__UT_HOSTSIZE as UT_HOSTSIZE;
#[cfg(target_env = "musl")] #[cfg(target_env = "musl")]
pub use libc::UT_HOSTSIZE; pub use libc::UT_HOSTSIZE;
#[cfg(not(target_env = "musl"))] #[cfg(not(target_env = "musl"))]
pub use libc::__UT_LINESIZE as UT_LINESIZE; pub use libc::__UT_HOSTSIZE as UT_HOSTSIZE;
#[cfg(target_env = "musl")] #[cfg(target_env = "musl")]
pub use libc::UT_LINESIZE; pub use libc::UT_LINESIZE;
#[cfg(not(target_env = "musl"))] #[cfg(not(target_env = "musl"))]
pub use libc::__UT_NAMESIZE as UT_NAMESIZE; pub use libc::__UT_LINESIZE as UT_LINESIZE;
#[cfg(target_env = "musl")] #[cfg(target_env = "musl")]
pub use libc::UT_NAMESIZE; pub use libc::UT_NAMESIZE;
#[cfg(not(target_env = "musl"))]
pub use libc::__UT_NAMESIZE as UT_NAMESIZE;
pub const UT_IDSIZE: usize = 4; pub const UT_IDSIZE: usize = 4;