runcon, chcon: Don't fetch crates at unsupported target (#10360)

This commit is contained in:
oech3
2026-01-20 13:10:00 +01:00
committed by GitHub
parent 7ea3dd9b5b
commit 555271d8a9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 }
+1 -1
View File
@@ -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 }