Skip to content

feat: support custom zig versions and master builds - #32

Draft
liyu1981 wants to merge 2 commits into
asdf-community:masterfrom
liyu1981:feat/support-custom-versions
Draft

feat: support custom zig versions and master builds#32
liyu1981 wants to merge 2 commits into
asdf-community:masterfrom
liyu1981:feat/support-custom-versions

Conversation

@liyu1981

@liyu1981 liyu1981 commented Sep 8, 2026

Copy link
Copy Markdown
  • Add load_custom_versions() to read from ~/.asdf/custom/zig/versions.json
  • Include master_ in list-all output for zig master builds
  • Handle master_ prefix in download to map to 'master' index entry
  • Support downloading custom dev versions from ziglang.org/builds/
  • Update README with custom version usage instructions

Summary by cubic

Adds support for installing custom Zig dev versions and master builds, so users can pin non-official builds like 0.12.0-dev.2139+e025ad7b4.

  • Reads custom versions from ~/.asdf/custom/zig/versions.json and shows them in asdf list all zig.
  • Lists master_<version> for the current master build and maps it back to the master index entry when downloading.
  • Skips shasum verification for custom versions since no checksum is available.
  • Documents custom version setup and master installation in the README.

Written for commit f2fdf28. Summary will update on new commits.

Review in cubic

- Add load_custom_versions() to read from ~/.asdf/custom/zig/versions.json
- Include master_<version> in list-all output for zig master builds
- Handle master_ prefix in download to map to 'master' index entry
- Support downloading custom dev versions from ziglang.org/builds/
- Update README with custom version usage instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant