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

Function isCurrentPlatform

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

Source from the content-addressed store, hash-verified

152const workerdBinaryName = (t: Target) => (t.os === "win32" ? "workerd.exe" : "workerd");
153
154const isCurrentPlatform = (t: Target) =>
155 t.os === process.platform && t.arch === process.arch && !t.abi;
156
157/**
158 * 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