Skip to content

Commit

Permalink
Add iOS detection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Sep 20, 2015
1 parent 7d4b14f commit 43ba64e
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 @@ -375,6 +375,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("linux", "unix", "musl")
} else if target.contains("apple-darwin") {
("macos", "unix", "")
} else if target.contains("apple-ios") {
("ios", "unix", "")
} else if target.contains("windows-msvc") {
("windows", "windows", "msvc")
} else if target.contains("windows-gnu") {
Expand Down

0 comments on commit 43ba64e

Please sign in to comment.