aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/JSEnvironmentVariableMap.cpp
diff options
context:
space:
mode:
authorGravatar Justin Whear <justin.whear+github@gmail.com> 2023-02-03 18:13:33 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-03 18:13:33 -0800
commita2fd20e5c02c8a47cbb8fce7852e03dcbaf69877 (patch)
tree9b128760098acc04e50c570f02855b393897508f /src/bun.js/bindings/JSEnvironmentVariableMap.cpp
parentde613baf81bfaf524818cb72811e13ad9a3765ff (diff)
downloadbun-a2fd20e5c02c8a47cbb8fce7852e03dcbaf69877.tar.gz
bun-a2fd20e5c02c8a47cbb8fce7852e03dcbaf69877.tar.zst
bun-a2fd20e5c02c8a47cbb8fce7852e03dcbaf69877.zip
Implement os.cpus() for Linux (#1977)
* Implement os.cpus() for Linux `os.cpus()` currently returns an empty array for all platforms. This PR implements full functionality for Linux and has been tested on x86-64. Other OSes will continue to return an empty array. Note that Linux on Arm64 may report the CPU model differently; if this is the case the CPU model will currently be reported as "unknown". As I do not have Arm64 hardware to verify and develop against, a todo has been left in the code. * resolve issues from review
Diffstat (limited to 'src/bun.js/bindings/JSEnvironmentVariableMap.cpp')
0 files changed, 0 insertions, 0 deletions