diff options
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 22c12fdf3de..194b6c8e3e2 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -41,7 +41,6 @@ #![feature(fnbox)] #![feature(iter_cmp)] #![feature(libc)] -#![feature(rt)] #![feature(rustc_private)] #![feature(set_stdio)] #![feature(staged_api)] @@ -879,13 +878,7 @@ fn get_concurrency() -> usize { _ => panic!("RUST_TEST_THREADS is `{}`, should be a positive integer.", s) } } - Err(..) => { - if std::rt::util::limit_thread_creation_due_to_osx_and_valgrind() { - 1 - } else { - num_cpus() - } - } + Err(..) => num_cpus(), }; #[cfg(windows)] |
