We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b378f0 + cd0095e commit a33a51aCopy full SHA for a33a51a
test/test-46-multi-arch/main.js
@@ -8,10 +8,10 @@ const utils = require('../utils.js');
8
assert(!module.parent);
9
assert(__dirname === process.cwd());
10
11
-// only linux has linux-arm64 counterpart
12
-if (process.platform !== 'linux') return;
+// only linux adn macos has arm64 counterpart
+if (!['linux', 'darwin'].includes(process.platform)) return;
13
14
-const opposite = { x64: 'arm64', arm: 'x64' };
+const opposite = { x64: 'arm64', arm64: 'x64' };
15
16
const target = opposite[process.arch];
17
const input = './test-x-index.js';
0 commit comments