diff options
| author | Raph Levien <raph@google.com> | 2016-10-18 13:43:18 -0700 |
|---|---|---|
| committer | Raph Levien <raph@google.com> | 2016-10-22 07:08:06 -0700 |
| commit | 76bac5d33e09e8ae1b243c045584646431147cce (patch) | |
| tree | e5a7e238441d821c4d5507cc71d5a2cdb6b6869e /src/libtest | |
| parent | 4879166194ed63ebd2a8c3ce8db1ccde4a6a1920 (diff) | |
| download | rust-76bac5d33e09e8ae1b243c045584646431147cce.tar.gz rust-76bac5d33e09e8ae1b243c045584646431147cce.zip | |
Add Fuchsia support
Adds support for the x86_64-unknown-fuchsia target, which covers the Fuchsia operating system.
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 625666e641c..8b0fd1ca0cb 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -1036,7 +1036,8 @@ fn get_concurrency() -> usize { target_os = "ios", target_os = "android", target_os = "solaris", - target_os = "emscripten"))] + target_os = "emscripten", + target_os = "fuchsia"))] fn num_cpus() -> usize { unsafe { libc::sysconf(libc::_SC_NPROCESSORS_ONLN) as usize } } |
