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