rust/tests/run-pass/available-concurrency.rs
2022-01-08 17:27:48 +01:00

4 lines
86 B
Rust

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