Locates a zig executable or optionally downloads a standalone Zig toolchain
into the project-local .barnacle/ directory (never into $HOME).
Summary
Functions
Downloads and extracts a standalone Zig toolchain into .barnacle/ in the current project.
Resolves the zig executable path in order
Functions
Downloads and extracts a standalone Zig toolchain into .barnacle/ in the current project.
Resolves the zig executable path in order:
- Explicit
opts[:zig] ZIG_EXECUTABLE_PATHenvironment variable- System
zigonPATH - Project-local
.barnacle/zig-*/zig(.exe) - Prompts to download standalone Zig into
.barnacle/