rust/tests/pass-dep/num_cpus.rs

6 lines
94 B
Rust
Raw Normal View History

2022-07-22 19:53:20 -05:00
//@compile-flags: -Zmiri-disable-isolation
fn main() {
assert_eq!(num_cpus::get(), 1);
}