mirror of https://github.com/nodejs/node.git
test: set common.bits to 64 for loong64
PR-URL: https://github.com/nodejs/node/pull/45383 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
223dc690e9
commit
7d014d9227
|
@ -33,7 +33,7 @@ const { inspect } = require('util');
|
||||||
const { isMainThread } = require('worker_threads');
|
const { isMainThread } = require('worker_threads');
|
||||||
|
|
||||||
const tmpdir = require('./tmpdir');
|
const tmpdir = require('./tmpdir');
|
||||||
const bits = ['arm64', 'mips', 'mipsel', 'ppc64', 'riscv64', 's390x', 'x64']
|
const bits = ['arm64', 'loong64', 'mips', 'mipsel', 'ppc64', 'riscv64', 's390x', 'x64']
|
||||||
.includes(process.arch) ? 64 : 32;
|
.includes(process.arch) ? 64 : 32;
|
||||||
const hasIntl = !!process.config.variables.v8_enable_i18n_support;
|
const hasIntl = !!process.config.variables.v8_enable_i18n_support;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue