Skip to content

Commit f2842c7

Browse files
authored
Merge pull request rust-lang#20 from nielx/master
Add support for the Haiku target
2 parents 8672b22 + 193a72f commit f2842c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11141114
("redox", "unix", "")
11151115
} else if target.contains("vxworks") {
11161116
("vxworks", "unix", "")
1117+
} else if target.contains("haiku") {
1118+
("haiku", "unix", "")
11171119
} else {
11181120
panic!("unknown os/family: {}", target)
11191121
};

0 commit comments

Comments
 (0)