MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isBunTargetKey

Function isBunTargetKey

apps/cli/src/build.ts:167–168  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

165} satisfies Record<BunTargetKey, Bun.Build.CompileTarget>;
166
167const isBunTargetKey = (key: string): key is BunTargetKey =>
168 bunTargetKeys.includes(key as BunTargetKey);
169
170const bunTarget = (t: Target): Bun.Build.CompileTarget => {
171 const key = [t.os, t.arch, t.abi].filter(Boolean).join("-");

Callers 1

bunTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected