GeezerVison is showing github.com — doc: add loong64 to list of architectures · nodejs/node@47633ab
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/os.md +3-2Lines changed: 3 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -50,8 +50,9 @@ added: v0.5.0 | 50 | 50 | * Returns: {string} | 51 | 51 |
| 52 | 52 | Returns the operating system CPU architecture for which the Node.js binary was | 53 | | -compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, | 54 | | -`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. | | 53 | +compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, | | 54 | +`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, | | 55 | +and `'x64'`. | 55 | 56 |
| 56 | 57 | The return value is equivalent to [`process.arch`][]. | 57 | 58 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/process.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -873,8 +873,8 @@ added: v0.5.0 | 873 | 873 | * {string} | 874 | 874 |
| 875 | 875 | The operating system CPU architecture for which the Node.js binary was compiled. | 876 | | -Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`, | 877 | | -`'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. | | 876 | +Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`, | | 877 | +`'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`. | 878 | 878 |
| 879 | 879 | ```mjs | 880 | 880 | import { arch } from 'node:process'; | |
|