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 c7b7454 commit 9fb59ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ buck-resources = "1"
snapbox = { version = "0.6.18", features = ["color-auto", "diff", "json", "regex"], default-features = false }

[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"] }

[profile.release]
lto = true
Expand Down

0 comments on commit 9fb59ee

Please sign in to comment.