GeezerVison is showing github.com — doc: remove x86 from os.arch() options · nodejs/node@1b68986
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 +2-3Lines changed: 2 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -31,11 +31,10 @@ added: v0.5.0 | 31 | 31 | * Returns: {string} | 32 | 32 |
| 33 | 33 | The `os.arch()` method returns a string identifying the operating system CPU | 34 | | -architecture *for which the Node.js binary was compiled*. | | 34 | +architecture for which the Node.js binary was compiled. | 35 | 35 |
| 36 | 36 | The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, | 37 | | -`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, `'x64'`, and | 38 | | -`'x86'`. | | 37 | +`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`. | 39 | 38 |
| 40 | 39 | Equivalent to [`process.arch`][]. | 41 | 40 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/process.md +5-3Lines changed: 5 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -450,9 +450,11 @@ added: v0.5.0 | 450 | 450 |
| 451 | 451 | * {string} | 452 | 452 |
| 453 | | -The `process.arch` property returns a String identifying the processor | 454 | | -architecture that the Node.js process is currently running on. For instance | 455 | | -`'arm'`, `'ia32'`, or `'x64'`. | | 453 | +The `process.arch` property returns a string identifying the operating system CPU | | 454 | +architecture for which the Node.js binary was compiled. | | 455 | + | | 456 | +The current possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, | | 457 | +`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`. | 456 | 458 |
| 457 | 459 | ```js | 458 | 460 | console.log(`This processor architecture is ${process.arch}`); | |
|