Skip to content

Commit

Permalink
add supporting for vxWorks
Browse files Browse the repository at this point in the history
  • Loading branch information
BaoshanPang authored and gnzlbg committed Oct 10, 2019
1 parent cf096e1 commit 570e058
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("unknown", "", "wasi")
} else if target.contains("redox") {
("redox", "unix", "")
} else if target.contains("vxworks") {
("vxworks", "unix", "")
} else {
panic!("unknown os/family width: {}", target)
};
Expand Down

0 comments on commit 570e058

Please sign in to comment.