Skip to content

Commit 714d692

Browse files
author
Pat Hickey
committed
nix needs additional flags to build examples
1 parent fd758b7 commit 714d692

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ nix = { version = "0.27", features = ["ioctl"] }
1616
thiserror = "1.0.4"
1717
userfaultfd-sys = { path = "userfaultfd-sys", version = "^0.4.0" }
1818

19+
[dev-dependencies]
20+
nix = { version = "0.27", features = ["poll", "mman", "feature"] }
21+
1922
[features]
2023
default = []
2124
linux4_14 = ["userfaultfd-sys/linux4_14"]

0 commit comments

Comments
 (0)