8 lines
107 B
V
8 lines
107 B
V
|
import runtime
|
||
|
|
||
|
fn test_nr_cpus() {
|
||
|
nr_cpus := runtime.nr_cpus()
|
||
|
println(nr_cpus)
|
||
|
assert nr_cpus > 0
|
||
|
}
|