Puts a forcola_shim binary into priv/.
Resolution order:
FORCOLA_BUILD=1(ortrue) forces a localcargo build --releasefromnative/forcola_shim. This is the escape hatch for targets the release workflow does not cover; it raises if cargo is not onPATH.- If
checksum-forcola_shim.exsexists (it ships in the hex package and never in the git checkout), the precompiled binary for the current target is downloaded from GitHub Releases and its SHA256 verified against that file. A mismatch fails the compile. - If
native/forcola_shimexists and cargo is onPATH(git checkout, CI), a debugcargo buildruns and the binary is copied intopriv/when stale. This is the development path. - Otherwise the compile fails with instructions.
Forcola.Shim.path/0 reads whatever binary ends up in priv/.