Skip to content

Commit

Permalink
Add support for GNU/Hurd
Browse files Browse the repository at this point in the history
  • Loading branch information
pinotree committed Nov 30, 2024
1 parent 8b45e12 commit 469f66a
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 @@ -1142,6 +1142,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("linux", "unix", "ohos")
} else if target.contains("aix") {
("aix", "unix", "")
} else if target.contains("hurd") {
("hurd", "unix", "gnu")
} else {
panic!("unknown os/family: {}", target)
};
Expand Down

0 comments on commit 469f66a

Please sign in to comment.