Skip to content

Commit

Permalink
Redox support
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Feb 28, 2017
1 parent 6500747 commit 0f728ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -162,7 +162,7 @@ fn get_num_cpus() -> usize {
libc::sysconf(libc::_SC_NPROCESSORS_ONLN) as usize
}
}
#[cfg(target_os = "emscripten")]
#[cfg(any(target_os = "emscripten", target_os = "redox"))]
fn get_num_cpus() -> usize {
1
}
Expand Down

0 comments on commit 0f728ed

Please sign in to comment.