From 1cf95c06eaadecf14c752e92d28b418f9e9b79d0 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 6 Aug 2021 13:20:23 -0600 Subject: [PATCH] core: do not build utmpx feature on redox --- src/uucore/src/lib/features.rs | 1 + src/uucore/src/lib/lib.rs | 1 + 2 files changed, 2 insertions(+) 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" ))]