Skip to content

Commit

Permalink
doc: add riscv64 to list of architectures
Browse files Browse the repository at this point in the history
PR-URL: #49284

Signed-off-by: Stewart X Addison <sxa@redhat.com>
  • Loading branch information
sxa committed Aug 24, 2023
1 parent 62b2cf3 commit d927a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/api/os.md
Expand Up @@ -51,7 +51,7 @@ added: v0.5.0

Returns the operating system CPU architecture for which the Node.js binary was
compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,
`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, and `'x64'`.
`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.

The return value is equivalent to [`process.arch`][].

Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Expand Up @@ -871,7 +871,7 @@ added: v0.5.0

The operating system CPU architecture for which the Node.js binary was compiled.
Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`,
`'ppc64'`, `'s390'`, `'s390x'`, and `'x64'`.
`'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.

```mjs
import { arch } from 'node:process';
Expand Down

0 comments on commit d927a2b

Please sign in to comment.