mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
6 lines
88 B
V
6 lines
88 B
V
import runtime
|
|
|
|
fn test_nr_cpus() {
|
|
nr_cpus := runtime.nr_cpus()
|
|
assert nr_cpus > 0
|
|
}
|