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

Function isCurrentPlatform

apps/cli/src/build.ts:180–181  ·  view source on GitHub ↗
(t: Target)

Source from the content-addressed store, hash-verified

178const workerdBinaryName = (t: Target) => (t.os === "win32" ? "workerd.exe" : "workerd");
179
180const isCurrentPlatform = (t: Target) =>
181 t.os === process.platform && t.arch === process.arch && !t.abi;
182
183/**
184 * Resolve the platform-specific @napi-rs/keyring native binding for a target.

Callers 1

buildBinariesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected