From 7f70bfad30f53cedf5aa68c21335d0eaa658e6ba Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 16 May 2025 16:20:50 +0200 Subject: [PATCH] du: fix "function never used" warning in test --- tests/by-util/test_du.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_du.rs b/tests/by-util/test_du.rs index 4a7a1bc50..48043a831 100644 --- a/tests/by-util/test_du.rs +++ b/tests/by-util/test_du.rs @@ -275,7 +275,9 @@ fn du_hard_link(s: &str) { #[cfg(all( not(target_vendor = "apple"), not(target_os = "windows"), - not(target_os = "freebsd") + not(target_os = "freebsd"), + not(target_os = "openbsd"), + not(target_os = "android") ))] fn du_hard_link(s: &str) { // MS-WSL linux has altered expected output