build(deps): libc for every unix host, not only macOS

This commit is contained in:
LGUG2Z committed 2026-10-28 20:00:13 -07:00
1 parent 0dd3997a4d
commit 17d44cbcba
1 file changed
+3 -1
+3 -1
View File
@@ -27,7 +27,6 @@ sysinfo = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
block2 = "0.6"
dispatch2 = "0.3"
libc = "0.2"
objc2 = { version = "0.6", default-features = false, features = ["std"] }
objc2-av-foundation = { version = "0.3", default-features = false, features = [
"std",
@@ -102,6 +101,9 @@ objc2-screen-capture-kit = { version = "0.3", default-features = false, features
"SCStream",
] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
uds_windows = "1"
windows = { version = "0.62", features = [