From f72e79ea67ad4cc3be3eed880a91b7c52bc31349 Mon Sep 17 00:00:00 2001 From: Stewart X Addison <6487691+sxa@users.noreply.github.com> Date: Sat, 26 Aug 2023 06:48:16 +0100 Subject: [PATCH] doc: add riscv64 to list of architectures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/49284 Signed-off-by: Stewart X Addison Fixes: https://github.com/nodejs/node/issues/49278 Reviewed-By: Richard Lau Reviewed-By: Tobias Nießen Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Luigi Pinca --- doc/api/os.md | 2 +- doc/api/process.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/os.md b/doc/api/os.md index bbc4c30cdb71d4..a02726fb7c2eb1 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -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`][]. diff --git a/doc/api/process.md b/doc/api/process.md index 548f0fdcf44378..8b906eec9cb6ba 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -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';