Skip to content

Commit

Permalink
Add illumos support (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbking authored and seanmonstar committed Feb 11, 2019
1 parent 6645140 commit 44d9539
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 @@ -356,6 +356,7 @@ fn get_num_cpus() -> usize {
target_os = "ios",
target_os = "android",
target_os = "solaris",
target_os = "illumos",
target_os = "fuchsia")
)]
fn get_num_cpus() -> usize {
Expand All @@ -380,6 +381,7 @@ fn get_num_cpus() -> usize {
target_os = "ios",
target_os = "android",
target_os = "solaris",
target_os = "illumos",
target_os = "fuchsia",
target_os = "linux",
target_os = "openbsd",
Expand Down

0 comments on commit 44d9539

Please sign in to comment.