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

Function isBunTargetKey

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

Source from the content-addressed store, hash-verified

139} satisfies Record<BunTargetKey, Bun.Build.CompileTarget>;
140
141const isBunTargetKey = (key: string): key is BunTargetKey =>
142 bunTargetKeys.includes(key as BunTargetKey);
143
144const bunTarget = (t: Target): Bun.Build.CompileTarget => {
145 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