rust/tests/run-pass/available-concurrency.rs
2020-10-18 11:22:09 +02:00

6 lines
122 B
Rust

#![feature(available_concurrency)]
fn main() {
assert_eq!(std::thread::available_concurrency().unwrap().get(), 1);
}