Merge pull request #6268 from jadijadi/fix-netbsd-build

Fixing the build issue on NetBSD
This commit is contained in:
Sylvestre Ledru
2024-04-24 18:26:26 +02:00
committed by GitHub
+3
View File
@@ -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",