1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Merge pull request #7943 from cakebaker/du_fix_never_used_warning_in_test

du: fix "function never used" warning in test
This commit is contained in:
Sylvestre Ledru 2025-05-20 09:44:33 +02:00 committed by GitHub
commit 0c7a5d25f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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