Fix Zig 0.16 Walk string maps#3
Conversation
|
Warning Review limit reached
More reviews will be available in 13 minutes and 13 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Pull request overview
Fixes a Zig 0.16 compilation break in Walk caused by the removal of std.array_hash_map.String by switching the affected global string-keyed maps to the supported std.StringArrayHashMapUnmanaged type.
Changes:
- Replace
std.array_hash_map.String(File)withstd.StringArrayHashMapUnmanaged(File)for thefilesglobal map. - Replace
std.array_hash_map.String(File.Index)withstd.StringArrayHashMapUnmanaged(File.Index)for themodulesglobal map.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (1 files)
Reviewed by step-3.7-flash-20260528 · 233,351 tokens |
Closing — verified gate-breaking regressionThis PR reverts Ground truth (active 0.16.0 stdlib): /// Deprecated; use `array_hash_map.String`.
pub const StringArrayHashMapUnmanaged = array_hash_map.String;The two spellings are the same type by alias, but Reproduced gate failure — checked out this PR head ( zigdoc's CodeRabbit: the automated check on this PR reported Closing as a no-fix-needed regression: |
Summary
GitHub review state checked
Validation
Safety