Commit 9c94dce
test: export isRiscv64 from common module
isRiscv64 is defined and used internally for the timeout multiplier
but was not exported. Export it alongside the other platform booleans
(isLinux, isFreeBSD, isPi, etc.) so tests can use common.isRiscv64
instead of inlining process.arch checks.
Refs: nodejs/build#4099
Signed-off-by: Jamie Magee <jamie.magee@gmail.com>
PR-URL: #62609
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>1 parent 8f55327 commit 9c94dceCopy full SHA for 9c94dce
2 files changed
+3Lines changed: 3 additions & 0 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
996 | 996 | |
997 | 997 | |
998 | 998 | |
| 999 | + |
999 | 1000 | |
1000 | 1001 | |
1001 | 1002 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
| 34 | + |
34 | 35 | |
35 | 36 | |
36 | 37 | |
| ||
86 | 87 | |
87 | 88 | |
88 | 89 | |
| 90 | + |
89 | 91 | |
90 | 92 | |
91 | 93 | |
|
0 commit comments