diff --git a/dist/index.js b/dist/index.js index 23decb23..7e0a6143 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1109,9 +1109,9 @@ function findPyPyVersion(versionSpec, architecture) { let installDir; const pypyVersionSpec = parsePyPyVersion(versionSpec); // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64. - /*if (IS_WINDOWS && architecture === 'x64') { - architecture = 'x86'; - }*/ + if (utils_1.IS_WINDOWS && architecture === 'x64') { + architecture = 'x86'; + } ({ installDir, resolvedPythonVersion, resolvedPyPyVersion } = findPyPyToolCache(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture)); if (!installDir) { ({ diff --git a/src/find-pypy.ts b/src/find-pypy.ts index 850311dd..700ce9ee 100644 --- a/src/find-pypy.ts +++ b/src/find-pypy.ts @@ -28,9 +28,9 @@ export async function findPyPyVersion( const pypyVersionSpec = parsePyPyVersion(versionSpec); // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64. - /*if (IS_WINDOWS && architecture === 'x64') { + if (IS_WINDOWS && architecture === 'x64') { architecture = 'x86'; - }*/ + } ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache( pypyVersionSpec.pythonVersion,