Skip to main content

resolve_bundled_binary

Function resolve_bundled_binary 

Source
pub fn resolve_bundled_binary(
    spec: BundledBinarySpec<'_>,
) -> Result<BundledBinary, BundledBinaryError>
Expand description

Resolves a bundled Codex binary under <bundle_root>/<platform>/<version>/.

The helper never consults PATH or CODEX_BINARY; missing slices are hard errors. The resolved path is canonicalized and should be passed to [CodexClientBuilder::binary] to keep behavior isolated from any global Codex install.