Skip to content

Commit f72e79e

Browse files
sxaUlisesGascon
authored andcommitted
doc: add riscv64 to list of architectures
PR-URL: #49284 Signed-off-by: Stewart X Addison <sxa@redhat.com> Fixes: #49278 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 5051c75 commit f72e79e

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)