diff --git a/src/uucore/src/lib/features.rs b/src/uucore/src/lib/features.rs index c1e1ec31e..f90fc7b3d 100644 --- a/src/uucore/src/lib/features.rs +++ b/src/uucore/src/lib/features.rs @@ -29,6 +29,7 @@ pub mod signals; #[cfg(all( unix, not(target_os = "fuchsia"), + not(target_os = "redox"), not(target_env = "musl"), feature = "utmpx" ))] diff --git a/src/uucore/src/lib/lib.rs b/src/uucore/src/lib/lib.rs index 1ac26b04e..aa96a1086 100644 --- a/src/uucore/src/lib/lib.rs +++ b/src/uucore/src/lib/lib.rs @@ -65,6 +65,7 @@ pub use crate::features::signals; #[cfg(all( unix, not(target_os = "fuchsia"), + not(target_os = "redox"), not(target_env = "musl"), feature = "utmpx" ))]