du: fix "function never used" warning in test

This commit is contained in:
Daniel Hofstetter 2025-05-16 16:20:50 +02:00 committed by Sylvestre Ledru
parent 6a828f0e74
commit 7f70bfad30

View file

@ -275,7 +275,9 @@ fn du_hard_link(s: &str) {
#[cfg(all( #[cfg(all(
not(target_vendor = "apple"), not(target_vendor = "apple"),
not(target_os = "windows"), 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) { fn du_hard_link(s: &str) {
// MS-WSL linux has altered expected output // MS-WSL linux has altered expected output