aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorkristopher tate <kris.tate+github@gmail.com>2018-08-03 01:59:59 +0900
committerAndrew Kelley <superjoe30@gmail.com>2018-08-02 12:59:59 -0400
commit432b7685bfa840a459b492a37894f7ffed870c7e (patch)
tree55d18f9a7c9423541dd0a2555d5269214d303419 /src/ir_print.cpp
parente66f538972d1278ed95513aa1d97c196818a73c6 (diff)
downloadzig-432b7685bfa840a459b492a37894f7ffed870c7e.tar.gz
zig-432b7685bfa840a459b492a37894f7ffed870c7e.zip
std/os/index.zig: use "hw.logicalcpu" instead of "hw.ncpu" in macOS; (#1317)
Tracking Issue #1252 ; hw.ncpu was deprecated in macOS. Among 4 new options available (hw.{physicalcpu, physicalcpu_max, logicalcpu, logicalcpu_max}), hw.logicalcpu was chosen because it actually reflects the number of logical cores the OS sees.
Diffstat (limited to 'src/ir_print.cpp')
0 files changed, 0 insertions, 0 deletions