diff --git a/src/uucore/src/lib.rs b/src/uucore/src/lib.rs index 58e7ff261..f6896a2e3 100644 --- a/src/uucore/src/lib.rs +++ b/src/uucore/src/lib.rs @@ -38,7 +38,7 @@ pub mod parse_time; #[cfg(all(not(windows), feature = "mode"))] pub mod mode; -#[cfg(all(unix, not(target_os = "fuchsia"), feature = "utmpx"))] +#[cfg(all(unix, not(target_os = "fuchsia"), not(target_env="musl"), feature = "utmpx"))] pub mod utmpx; #[cfg(all(unix, feature = "entries"))] pub mod entries;