Skip to content

Upgrade Zig toolchain pin to 0.17.1 - #45

Merged
cursor[bot] merged 5 commits into
masterfrom
cursor/zig-0.17-upgrade-ac1b
Nov 12, 2026
Merged

cursor[bot] merged 5 commits into
masterfrom
cursor/zig-0.17-upgrade-ac1b

Conversation

@code5717

Copy link
Copy Markdown
Owner

Summary

Pins a7-py from Zig 0.16.0 to 0.17.1 (latest stable 0.17.x; 0.17.0 released 2026-10-02, 0.17.1 bugfix 2026-11-03).

Updates CI/release downloads + SHA, a7 doctor / ZIG_VERSION, archive names (zig0.17.1), docs (README, RELEASE, STATUS, llms*), scripts, and version-asserting tests.

Zig 0.17 advisory (a7-relevant)

Official notes: https://ziglang.org/download/0.17.0/release-notes.html

Change a7 impact
Array multiplication a ** b removed → @splat Emitter array defaults updated
@typeInfo struct/enum/union use field_names / field_types __a7_zero + layout probe updated
Pointer.is_const → Pointer.attrs.@"const" Slice constness annotations + test probe
@bitCast logical-bit / extern bans Emitter uses int↔float bit patterns only; no change
@cImport removed (translate-c package) Not used by a7
void{} / errdefer |err| / i0 removed Not used in emitted Zig
Build system configurer/maker split a7 uses zig build-exe, not build.zig graphs
Incremental ELF Optional; not wired
Archive naming a7-example-artifacts-linux-x86_64-zig0.17.1-<profile>.tar.gz

Longer write-up: project store internal/zig-0.17-changelog-impact.md.

Verification

  • Smoke: a7 doctor, hello + zero-init array examples on Zig 0.17.1
  • Targeted codegen/CLI/layout/native tests passed
  • ./run_all_tests.sh: E2E 51/51, debug/release/fast artifacts, error-stage 61/61, docs-style, secrets, package + wheel/sdist native install passed
  • Full pytest after layout fix: 5223 passed, 11 failed, 1 xfailed — the 11 match origin/master (safety/generic/callee-note), not Zig 0.17 regressions

Test plan

  • CI installs Zig 0.17.1 with pinned SHA
  • Doctor rejects other Zig versions
  • Native examples build and run
  • CI green on this PR
Open in Web Open in Cursor 

cursoragent and others added 3 commits November 12, 2026 15:00
Update CI/release downloads, doctor/archive naming, docs, and tests.
Adapt emitted Zig for 0.17: @Splat array defaults, field_names type
info, and Pointer.attrs.@"const" for slice constness.

Co-authored-by: cpp5717 <cpp5717@gmail.com>
@typeinfo struct fields moved to field_names/field_types.

Co-authored-by: cpp5717 <cpp5717@gmail.com>
Note E2E/artifact passes and that remaining pytest failures match master.

Co-authored-by: cpp5717 <cpp5717@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T16:14:50.982789Z e493e11 PR opened
🔒 Security Review ✅ Completed 2026-11-12T16:16:05.504781Z e493e11 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e493e11b24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/STATUS.md Resolved
cursoragent and others added 2 commits November 12, 2026 16:16
Bind STATUS native-pass claims to a new audit with snapshot SHA,
commands, and results; keep the old 0.17.0 mismatch checkpoint historical.

Co-authored-by: cpp5717 <cpp5717@gmail.com>
Record toolchain version and PATH only; keep platform as the
qualification target, not a machine-local install location.

Co-authored-by: cpp5717 <cpp5717@gmail.com>
@cursor
cursor Bot merged commit b2185ce into master Nov 12, 2026
2 of 3 checks passed
@cursor
cursor Bot deleted the cursor/zig-0.17-upgrade-ac1b branch November 12, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants