6 lines
122 B
Rust
6 lines
122 B
Rust
#![feature(available_parallelism)]
|
|
|
|
fn main() {
|
|
assert_eq!(std::thread::available_parallelism().unwrap().get(), 1);
|
|
}
|