Commit 6fe9694
Auto-install pinned Zig toolchain in setup + devcontainer (#41)
## What & why
The Zig FFI bridge is half of the ABI-FFI standard, but nothing
installed Zig — `.tool-versions` only lists it (commented), `setup.sh`
stopped at `just`, and the devcontainer's `postCreateCommand: just deps`
referenced a `deps` recipe that didn't exist. And Zig is **not**
distributed via GitHub releases, so it must come from `ziglang.org`,
which isn't on the agent egress allowlist by default.
## Change
- **`scripts/install-zig.sh`** — idempotent, fail-soft installer for the
pinned **Zig 0.14.0** (arch/OS-aware, uses the proxy-populated system CA
store, never `--insecure`). If `ziglang.org` is blocked it 403s and
exits 0 with an actionable message, so it never blocks setup.
- **`setup.sh`** — adds a Zig install step (where the template exposes
one).
- **`Justfile`** — new `deps` recipe (install Zig + `cargo fetch`)
backing the devcontainer `postCreateCommand: just deps`.
Once `ziglang.org` is allowlisted, future setups/dev-containers install
Zig automatically. Part of a family-wide sweep; mirrors the merged
iseriser reference (#70).
## CI note
The `rust-ci` and `Hypatia` checks are **pre-existing estate-infra
reds** (the reusable rust-ci workflow's empty `toolchain` input, and the
Hypatia analyzer failing to compile its own Elixir source) — neither is
caused by this shell/Justfile change.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_019xMKB3T4Vo5FYC7Czx3JSH
---
_Generated by [Claude
Code](https://claude.ai/code/session_019xMKB3T4Vo5FYC7Czx3JSH)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent b3caa84 commit 6fe9694
2 files changed
Lines changed: 65 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments