Skip to content

Commit 0c7a5d2

Browse files
authored
Merge pull request #7943 from cakebaker/du_fix_never_used_warning_in_test
du: fix "function never used" warning in test
2 parents a29fd4a + 7f70bfa commit 0c7a5d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/by-util/test_du.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ fn du_hard_link(s: &str) {
275275
#[cfg(all(
276276
not(target_vendor = "apple"),
277277
not(target_os = "windows"),
278-
not(target_os = "freebsd")
278+
not(target_os = "freebsd"),
279+
not(target_os = "openbsd"),
280+
not(target_os = "android")
279281
))]
280282
fn du_hard_link(s: &str) {
281283
// MS-WSL linux has altered expected output

0 commit comments

Comments
 (0)