Skip to content

Commit

Permalink
Fixing the build issue on NetBSD.
Browse files Browse the repository at this point in the history
The NetBSD was missing for target-os checks on fsext.rs

Fixed #6261
  • Loading branch information
jadijadi committed Apr 24, 2024
1 parent eacf53d commit ac87b73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uucore/src/lib/features/fsext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand All @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit ac87b73

Please sign in to comment.