Skip to content

Commit 77360b7

Browse files
committed
VxWorks dependencies added
1 parent 1135f2e commit 77360b7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ bitflags = "2"
2424
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "macos", target_os = "ios", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
2525
libc = ">=0.2.123"
2626

27+
[target.'cfg(target_os = "vxworks")'.dependencies]
28+
libc = ">=0.2.161"
29+
2730
[target.'cfg(windows)'.dependencies]
2831
libc = ">=0.2.123"
2932
winapi = { version = "0.3", features = ["errhandlingapi", "processthreadsapi", "winnt", "minwindef", "winbase"] }

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
target_os = "dragonfly",
153153
target_os = "freebsd",
154154
target_os = "openbsd",
155+
target_os = "vxworks",
155156
target_os = "netbsd",
156157
target_os = "android",
157158
target_arch = "wasm32",
@@ -167,6 +168,7 @@ use std::time::Duration;
167168
target_os = "dragonfly",
168169
target_os = "freebsd",
169170
target_os = "openbsd",
171+
target_os = "vxworks",
170172
target_os = "netbsd",
171173
target_os = "android",
172174
target_arch = "wasm32",

0 commit comments

Comments
 (0)