du: fix "function never used" warning in test

This commit is contained in:
Daniel Hofstetter
2025-05-19 11:18:02 +02:00
committed by Sylvestre Ledru
parent 6a828f0e74
commit 7f70bfad30
+3 -1
View File
@@ -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