godofecht / godofecht/azazel

Support exact, dev, and custom Zig toolchains in corpus manifests

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
1
Forks
0
Avg merge
8m
Merged PRs (30d)
1

Description

Problem

Large Zig projects often require exact, dev, or custom Zig versions. The current stable-lane model is not enough for projects such as ZLS and Mach.

Needed

  • Represent exact stable versions, dev build windows, and custom distributions.
  • Resolve toolchains from configured paths, local cache, official Zig downloads, and known mirrors.
  • Allow repo manifests to declare a required toolchain separately from Azazel's own supported generator lanes.
  • Emit precise diagnostics when the requested toolchain is unavailable or too new/old.

Corpus drivers

  • ZLS requires an older accepted 0.17-dev window and rejects current master.
  • Mach requires 2026.4.10-mach.
  • Capy requires at least 0.14.1 but still exposes transitive dependency drift.

Done when

  • tools/huge_corpus.py --build --repo zls reports the exact missing/unsupported dev-toolchain window.
  • tools/huge_corpus.py --build --repo mach can use a locally installed Mach Zig or reports a mirror/toolchain failure distinctly.
  • Docs explain stable lanes vs project-required toolchains.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tools/huge_corpus.py and trace how corpus builds, repo manifests, and current stable generator lanes select Zig toolchains. Use the ZLS, Mach, and Capy corpus drivers to understand the required cases. Done means the stated build commands distinguish unavailable, unsupported, and mirror/toolchain failures, while the documentation explains stable lanes versus project-required toolchains.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, zig
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.