Expand description
Locate the bynkc compiler the driver shells, and report
driver↔compiler version skew.
Resolution order (ADR: introduce the bynk driver):
- an explicit override — the
BYNK_BYNKCenvironment variable (thebynk.executablePath-style escape hatch); bynkconPATH;- a
bynkcsibling of the runningbynkbinary (mirrors howvscode-bynkresolvesbynkc-lspnext to itself).
An explicit override wins when set — an override that only applied after
auto-discovery failed would be useless. The skew check exists because this
resolution can pick a bynkc whose version differs from the driver’s: once
they are separate binaries, a global bynk 0.46 can shell a stale bynkc 0.44, and doctor’s whole job is to surface exactly that.
Structs§
- Compiler
- A resolved (or unresolved)
bynkc.
Enums§
- Origin
- How
bynkcwas located. - Skew
- Driver↔compiler version relationship. Patch differences are ignored (they are wire-compatible under the project’s unified versioning); a minor drift warns; a major drift is a contract mismatch and an error.