mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
runcon, chcon: Don't fetch crates at unsupported target (#10360)
This commit is contained in:
@@ -17,7 +17,7 @@ workspace = true
|
||||
[lib]
|
||||
path = "src/chcon.rs"
|
||||
|
||||
[dependencies]
|
||||
[target.'cfg(target_os = "linux")'.dependencies] # todo: block fetching crates without feat_selinux
|
||||
clap = { workspace = true }
|
||||
uucore = { workspace = true, features = ["entries", "fs", "perms"] }
|
||||
selinux = { workspace = true }
|
||||
|
||||
@@ -17,7 +17,7 @@ workspace = true
|
||||
[lib]
|
||||
path = "src/runcon.rs"
|
||||
|
||||
[dependencies]
|
||||
[target.'cfg(target_os = "linux")'.dependencies] # todo: block fetching crates without feat_selinux
|
||||
clap = { workspace = true }
|
||||
uucore = { workspace = true, features = ["entries", "fs", "perms", "selinux"] }
|
||||
selinux = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user