Low-level NIF bindings to the zvec C API.
At compile time the host target triple drives a single decision:
- Supported target and
ZVEX_BUILDunset — download thezvex-v<version>GitHub release tarball (NIF +libzvec_c_api), verify via SHA-256, and unpack intopriv/lib. No Makefile, no Zig toolchain required. - Unsupported target, or
ZVEX_BUILD=1— build everything from source viaelixir_make(Makefile buildslibzvec_c_api) plus Zigler (compiles the NIF). Requires the Zig toolchain, CMake, and a C/C++ compiler.
Download failures on a supported target raise — they do not silently
fall back to source. Set ZVEX_BUILD=1 to take the source path.
Prefer using the higher-level Zvex module API over calling these
functions directly.