Skip to content

Commit 3868870

Browse files
author
oech3
committed
df/Cargo.toml
1 parent c672866 commit 3868870

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,3 @@ format_push_string = "allow"
676676
flat_map_option = "allow"
677677
from_iter_instead_of_collect = "allow"
678678
large_types_passed_by_value = "allow"
679-
680-
# df does not pass GNU tests https://github.com/uutils/coreutils/pull/8722
681-
[target.'cfg(not(target_os = "freebsd"))'.dependencies]
682-
libc = "0.2.178"
683-
684-
[target.'cfg(target_os = "freebsd")'.dependencies]
685-
libc = "=0.2.175"

src/uu/df/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ tempfile = { workspace = true }
3030
[[bin]]
3131
name = "df"
3232
path = "src/main.rs"
33+
34+
# https://github.com/uutils/coreutils/pull/8722
35+
[target.'cfg(not(target_os = "freebsd"))'.dependencies]
36+
libc = "0.2.178"
37+
38+
[target.'cfg(target_os = "freebsd")'.dependencies]
39+
libc = "=0.2.175"

0 commit comments

Comments
 (0)