This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
d289a90cc7
v
/
vlib
/
runtime
/
runtime_test.v
7 lines
88 B
V
Raw
Normal View
History
Unescape
Escape
runtime: nr_cpus()
2019-10-11 05:36:46 +02:00
import
runtime
fn
test_nr_cpus
(
)
{
runtime: add windows support for nr_cpus()
2019-10-13 00:01:15 +02:00
nr_cpus
:=
runtime
.
nr_cpus
(
)
assert
nr_cpus
>
0
}