Skip to content

Commit 1c9ecd3

Browse files
committed
doc: add riscv64 to list of architectures
Signed-off-by: Stewart X Addison <[email protected]>
1 parent 62b2cf3 commit 1c9ecd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/os.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ added: v0.5.0
5151

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

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

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ added: v0.5.0
871871

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

876876
```mjs
877877
import { arch } from 'node:process';

0 commit comments

Comments
 (0)