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:
Shi Pujin authored and Juan José Arboleda committed 2023-03-04 23:03:31 -05:00
1 parent 9d40aef736
commit e4437dd409
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ const { inspect } = require('util');
const { isMainThread } = require('worker_threads');
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;
const hasIntl = !!process.config.variables.v8_enable_i18n_support;