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:
parent
591bef3759
commit
f084b7f168
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue