rust/tests/pass/available-parallelism.rs
2022-06-01 10:53:38 -04:00

4 lines
86 B
Rust

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