Map an architecture name to a Lambda architecture value.
(arch: string)
| 383 | |
| 384 | /** Map an architecture name to a Lambda architecture value. */ |
| 385 | function archToLambdaArch(arch: string): 'x86_64' | 'arm64' { |
| 386 | return validateBuildArch(arch) === 'aarch64' ? 'arm64' : 'x86_64'; |
| 387 | } |
| 388 | |
| 389 | /** Resolve the target platform for wheel resolution and Lambda architecture. */ |
| 390 | function getTargetPlatform(isDev: boolean): TargetPlatform { |
no test coverage detected