add stub for retrieving number of CPUs

This commit is contained in:
Sebastian Humenda
2018-03-10 15:01:51 +01:00
parent 933417549c
commit 9fd941e847
2 changed files with 7 additions and 1 deletions

View File

@@ -1294,6 +1294,12 @@ fn get_concurrency() -> usize {
// FIXME: implement
1
}
#[cfg(target_os = "l4re")]
fn num_cpus() -> usize {
// FIXME: implement
1
}
}
pub fn filter_tests(opts: &TestOpts, tests: Vec<TestDescAndFn>) -> Vec<TestDescAndFn> {