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

Function isBunTargetKey

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

Source from the content-addressed store, hash-verified

213} satisfies Record<BunTargetKey, Bun.Build.CompileTarget>;
214
215const isBunTargetKey = (key: string): key is BunTargetKey =>
216 bunTargetKeys.includes(key as BunTargetKey);
217
218const bunTarget = (t: Target): Bun.Build.CompileTarget => {
219 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