Skip to content

Commit

Permalink
VxWorks dependencies added
Browse files Browse the repository at this point in the history
  • Loading branch information
biabbas committed Oct 18, 2024
1 parent 1135f2e commit 77360b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ bitflags = "2"
[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]
libc = ">=0.2.123"

[target.'cfg(target_os = "vxworks")'.dependencies]
libc = ">=0.2.161"

[target.'cfg(windows)'.dependencies]
libc = ">=0.2.123"
winapi = { version = "0.3", features = ["errhandlingapi", "processthreadsapi", "winnt", "minwindef", "winbase"] }
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
target_os = "dragonfly",
target_os = "freebsd",
target_os = "openbsd",
target_os = "vxworks",
target_os = "netbsd",
target_os = "android",
target_arch = "wasm32",
Expand All @@ -167,6 +168,7 @@ use std::time::Duration;
target_os = "dragonfly",
target_os = "freebsd",
target_os = "openbsd",
target_os = "vxworks",
target_os = "netbsd",
target_os = "android",
target_arch = "wasm32",
Expand Down

0 comments on commit 77360b7

Please sign in to comment.