rust/tests/run-pass/available-parallelism.rs
2022-03-05 17:26:32 -05:00

4 lines
86 B
Rust

fn main() {
assert_eq!(std::thread::available_parallelism().unwrap().get(), 1);
}