Skip to content

api to get arm architecture of the binary as in the download page... #7803

Description

@cswl
  • Version: v6.3.0
  • Platform: linux-arm*
  • Subsystem: API?

I couldn't find any api to get the architecture of the binary itself,

process.arch just gives arm
uname -a would give for the host.. not the binary
node --v8-options gives target arm v7.. , and a lot of output..

I want it for the the binary as it is on the download page.. arm64 armv6l armv7l

I dumped and greped the process object and found.. process.config.variables.arm_version among others...
Checking the api doc for process.config says 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-options or any other suggestions..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.processIssues and PRs related to the process subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions