chore(gen-zig): regenerate 16 gens for narrowing @truncate (t27#1999) - #367
Merged
Conversation
t27#1999 makes gen-zig lower a narrowing UNSIGNED cast to @truncate (Rust 'as' semantics) instead of the checked @intcast that panics in safe builds. Regenerate the 16 gen/zig whose narrowing sites changed: etx link_quality_monitor m3_multihop multipath_router network_metrics packet_queue tri_a2a tri_challenge tri_compute_bond tri_compute_challenge tri_compute_payout tri_compute_pool tri_compute_reputation tri_compute_settle tri_gft_arith video_bridge Byte-exact vs the new t27c gen; all pass zig ast-check + zig test. Only gen/zig changes -- specs, gen/c, gen/rust, and the Verilog KATs are untouched, so the icarus and C legs are unaffected. gen/ regeneration via the no-gen-edits escape (LEFTHOOK=0). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
t27#1999 makes gen-zig lower a narrowing unsigned cast to
@truncate(Rustassemantics) instead of the checked@intCastthat panics in safe builds. This regenerates the 16 gen/zig whose narrowing sites changed:etx link_quality_monitor m3_multihop multipath_router network_metrics packet_queue tri_a2a tri_challenge tri_compute_bond tri_compute_challenge tri_compute_payout tri_compute_pool tri_compute_reputation tri_compute_settle tri_gft_arith video_bridgeByte-exact vs the new
t27c gen; all passzig ast-check+zig test. Only gen/zig changes — specs, gen/c, gen/rust, and the Verilog KATs are untouched, so the icarus and C legs are unaffected. The dynamic Zig-drift leg (from #365) byte-checks these against the fixed t27c automatically.gen/ regeneration via the
no-gen-editsescape (LEFTHOOK=0).🤖 Generated with Claude Code