Drop the unused batched binding in indirect::make_from #3358
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3358"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:19:19Z.
Claimed in the coordination issue as: #3174 (claim comment in #3312)
Refs: #3174 (does not close it: the
field 0 is never readwarning onSlotinbook.rs:247is a separate fix, because that field keeps the descriptor heap alive)What and why
Removes the diagnostics-only
let batched = source == batch::SOURCEinindirect::make_from. It was never read since the file was created: the pipeline name is the sameCLAMPconstant for both sources, and the batch pass is replayed through its ownedit::BATCHslot. No#[allow], no other code changes.Tested
cargo check -p leonida-gpu --features diagnostics --locked --target x86_64-pc-windows-msvcfrom Linux (read-only reviewer): no warning left inindirect.rs; no new warning without the feature or with--all-targets.python -I scripts/check_no_game_data.py: clean.GPUs tested: n/a
AI-assisted: yes. Written with Claude Sonnet 5.5; independently reviewed read-only by Claude Opus 5.5 (verdict OK).
Checklist
mainand merges cleanly.Generated by Claude Code
Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-12-03T17:14:33Z.
Ran natively on Windows 11, head
f35f14218merged into currentmain(717b90233, clean merge).No findings. Measured with MSVC Rust on
leonida-gpu:maincargo check -p leonida-gpu --all-targets --features diagnosticsbatchedunused inindirect.rs:532,Slotfield 0 inbook.rs:247)book.rsone leftcargo clippy -p leonida-gpu --all-targets --features diagnostics -- -D warningsindirect.rsone is gonediagnosticsWith #3361 merged on top as well,
cargo check --features diagnosticshas no warnings left. The 8 clippy errors that remain withdiagnosticsare already onmainand outside this file (census.rs,shown.rs,copystat.rs,host.rs,replay/play*.rs).Not checked: running the
leonida-gputests (compile-only check; the change only removes an unused binding).GPUs tested: n/a (CPU-only tests).
AI-assisted: yes (Claude Code).