(key: string)
| 213 | } satisfies Record<BunTargetKey, Bun.Build.CompileTarget>; |
| 214 | |
| 215 | const isBunTargetKey = (key: string): key is BunTargetKey => |
| 216 | bunTargetKeys.includes(key as BunTargetKey); |
| 217 | |
| 218 | const bunTarget = (t: Target): Bun.Build.CompileTarget => { |
| 219 | const key = [t.os, t.arch, t.abi].filter(Boolean).join("-"); |