(architecture: string)
| 285 | } |
| 286 | |
| 287 | function pypyArchitecture(architecture: string): string { |
| 288 | if (IS_WINDOWS && architecture === 'x32') { |
| 289 | // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value. |
| 290 | architecture = 'x86'; |
| 291 | } else if (IS_LINUX && architecture === 'arm64') { |
| 292 | architecture = 'aarch64'; |
| 293 | } |
| 294 | return architecture; |
| 295 | } |
no outgoing calls
no test coverage detected