Reported by a downstream consumer trying Go v2.0.0-dev.0 (measured by them; the behaviour is deliberate, per spec rule r5).
The dev SDK puts its layout under <dir>/v2-dev/ for EVERY explicit cache directory: CHTYPES_CACHE, and also the binding's own option (Go FetchOptions.CacheDir, and its counterparts in the other bindings once they convert). A 1.x consumer treats that option as the layout directory itself, so code that inspects or pre-populates it will look in the wrong place.
Fix (docs only):
spec/abi-v2/docs.md r5 should say "any explicit cache directory, from the environment or the binding's option", where today it names only `CHTYPES_CACHE".
- Each converted binding's README (the 2.0.0-dev banner section) and the v2 fetch docs should say it in one sentence, with the resulting path.
Lands on the v2 branch.
Reported by a downstream consumer trying Go
v2.0.0-dev.0(measuredby them; the behaviour is deliberate, per spec rule r5).The dev SDK puts its layout under
<dir>/v2-dev/for EVERY explicit cache directory:CHTYPES_CACHE, and also the binding's own option (GoFetchOptions.CacheDir, and its counterparts in the other bindings once they convert). A 1.x consumer treats that option as the layout directory itself, so code that inspects or pre-populates it will look in the wrong place.Fix (docs only):
spec/abi-v2/docs.mdr5 should say "any explicit cache directory, from the environment or the binding's option", where today it names only `CHTYPES_CACHE".Lands on the
v2branch.