-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
api to get arm architecture of the binary as in the download page... #7803
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
I couldn't find any api to get the architecture of the binary itself,
process.archjust givesarmuname -awould give for the host.. not the binarynode --v8-optionsgivestarget arm v7.., and a lot of output..I want it for the the binary as it is on the download page..
arm64armv6larmv7lI dumped and greped the
processobject and found..process.config.variables.arm_versionamong others...Checking the api doc for
process.configsays it is not read-only and gives some warning about some packages changing it..Could and api be added for this, or should we just parse this form
process.config.variables.arm_*or--v8-optionsor any other suggestions..