From ac87b73244c24087531b2cf72a915e8f60e486fb Mon Sep 17 00:00:00 2001 From: Jadi Date: Wed, 24 Apr 2024 15:24:43 +0000 Subject: [PATCH] Fixing the build issue on NetBSD. The NetBSD was missing for target-os checks on fsext.rs Fixed #6261 --- src/uucore/src/lib/features/fsext.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uucore/src/lib/features/fsext.rs b/src/uucore/src/lib/features/fsext.rs index 7f29a2dc626..99db194f8de 100644 --- a/src/uucore/src/lib/features/fsext.rs +++ b/src/uucore/src/lib/features/fsext.rs @@ -643,6 +643,7 @@ impl FsMeta for StatFs { not(target_os = "aix"), not(target_os = "android"), not(target_os = "freebsd"), + not(target_os = "netbsd"), not(target_os = "openbsd"), not(target_os = "illumos"), not(target_os = "solaris"), @@ -654,6 +655,7 @@ impl FsMeta for StatFs { #[cfg(all( not(target_env = "musl"), not(target_os = "freebsd"), + not(target_os = "netbsd"), not(target_os = "redox"), any( target_arch = "s390x", @@ -668,6 +670,7 @@ impl FsMeta for StatFs { target_env = "musl", target_os = "aix", target_os = "freebsd", + target_os = "netbsd", target_os = "illumos", target_os = "solaris", target_os = "redox",