Builds a single ZiglerPrecompiled NIF artifact for a target triple.
mix zigler_precompiled.build lib/my_app/native.ex --target aarch64-linux-gnuDependencies are compiled for the host before the target-specific Zigler precompile mode is enabled. This keeps dependency NIFs loadable on the build runner while only the requested NIF module is cross-compiled.
Options
--target- required Zig target triple, such asaarch64-linux-gnu--out- output directory for the.tar.gzartifact, defaults toartifacts--basename- artifact basename, defaults to the compiled module name--version- artifact version, defaults to the current Mix project version