Skip to content

Commit

Permalink
third-party: enable signal feature in crate nix
Browse files Browse the repository at this point in the history
Summary: This only seems to affect how autocargo works -- it is usable already through Buck.

Reviewed By: manav-a, dtolnay

Differential Revision: D68734129

fbshipit-source-id: c49432f3eab2a89ca786c8b5d981970f0bed6c7b
  • Loading branch information
Marius Eriksen authored and facebook-github-bot committed Jan 28, 2025
1 parent e694521 commit 4a39a73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions watchman/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
watchman_client = { version = "0.9.0", path = "../rust/watchman_client" }

[target.'cfg(target_os = "linux")'.dependencies]
nix = { version = "0.29.0", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "term", "time", "user", "zerocopy"] }
nix = { version = "0.29.0", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "signal", "term", "time", "user", "zerocopy"] }

[target.'cfg(target_os = "macos")'.dependencies]
nix = { version = "0.29.0", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "term", "time", "user", "zerocopy"] }
nix = { version = "0.29.0", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "signal", "term", "time", "user", "zerocopy"] }

[target.'cfg(unix)'.dependencies]
nix = { version = "0.29.0", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "term", "time", "user", "zerocopy"] }
nix = { version = "0.29.0", features = ["dir", "event", "hostname", "inotify", "ioctl", "mman", "mount", "net", "poll", "ptrace", "reboot", "resource", "sched", "signal", "term", "time", "user", "zerocopy"] }

[features]
default = []
Expand Down

0 comments on commit 4a39a73

Please sign in to comment.