Skip to content

Commit

Permalink
Add redox target
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 authored and gnzlbg committed Jun 21, 2019
1 parent b645216 commit 835506d
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 @@ -1090,6 +1090,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("emscripten", "unix", "")
} else if target.contains("wasi") {
("unknown", "", "wasi")
} else if target.contains("redox") {
("redox", "unix", "")
} else {
panic!("unknown os/family width: {}", target)
};
Expand Down

0 comments on commit 835506d

Please sign in to comment.