From d927a2b5bd5872b0182512828610a7726825ca97 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Tue, 22 Aug 2023 15:40:10 +0100 Subject: [PATCH] doc: add riscv64 to list of architectures PR-URL: https://github.com/nodejs/node/pull/49284 Signed-off-by: Stewart X Addison --- 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';