mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
dd: only require signal-hook on linux
This commit is contained in:
parent
7d07ffc47d
commit
27f53aa0df
1 changed files with 3 additions and 1 deletions
|
@ -19,13 +19,15 @@ byte-unit = "4.0"
|
|||
clap = { version = "2.33", features = [ "wrap_help" ] }
|
||||
gcd = "2.0"
|
||||
libc = "0.2"
|
||||
signal-hook = "0.3.9"
|
||||
uucore = { version=">=0.0.8", package="uucore", path="../../uucore" }
|
||||
uucore_procs = { version=">=0.0.5", package="uucore_procs", path="../../uucore_procs" }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "^3"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
signal-hook = "0.3.9"
|
||||
|
||||
[[bin]]
|
||||
name = "dd"
|
||||
path = "src/main.rs"
|
||||
|
|
Loading…
Reference in a new issue