From e6d12732f517db75df728ea47b4340609438eb11 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Mon, 4 Dec 2023 18:53:04 +0100 Subject: [PATCH] uucore: disable utmpx feature on OpenBSD - See issue uutils/coreutils#5596 for details --- 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 a28e8a7bf..e26de487b 100644 --- a/src/uucore/src/lib/features.rs +++ b/src/uucore/src/lib/features.rs @@ -52,6 +52,7 @@ pub mod signals; unix, not(target_os = "android"), not(target_os = "fuchsia"), + not(target_os = "openbsd"), 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 426b4216c..dcef26443 100644 --- a/src/uucore/src/lib/lib.rs +++ b/src/uucore/src/lib/lib.rs @@ -79,6 +79,7 @@ pub use crate::features::signals; unix, not(target_os = "android"), not(target_os = "fuchsia"), + not(target_os = "openbsd"), not(target_os = "redox"), not(target_env = "musl"), feature = "utmpx"