(target = RUST_TARGET ?? nativeTarget())
| 52 | } |
| 53 | |
| 54 | export function getCurrentSidecar(target = RUST_TARGET ?? nativeTarget()) { |
| 55 | const binaryConfig = SIDECAR_BINARIES.find((b) => b.rustTarget === target) |
| 56 | if (!binaryConfig) throw new Error(`Sidecar configuration not available for Rust target '${target}'`) |
| 57 | |
| 58 | return binaryConfig |
| 59 | } |
| 60 | |
| 61 | export async function copyBinaryToSidecarFolder(source: string) { |
| 62 | const dir = `resources` |
nothing calls this directly
no test coverage detected