make linux deps conditional

This commit is contained in:
GroovieGermanikus 2024-12-04 15:18:52 +01:00
parent 7e92d43ce3
commit 412447d512
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ quiche = { workspace = true }
mio = { workspace = true }
mio_channel = { workspace = true }
[target.'cfg(linux)'.dependencies]
[target.'cfg(unix)'.dependencies]
libc = "0.2"
nix = { version = "0.27", features = ["net", "socket", "uio"] }

View File

@ -25,7 +25,7 @@ quic-geyser-common = { workspace = true }
prometheus = { workspace = true }
lazy_static = { workspace = true }
[target.'cfg(linux)'.dependencies]
[target.'cfg(unix)'.dependencies]
libc = "0.2"
nix = { version = "0.27", features = ["net", "socket", "uio"] }