Repository navigation
gpu-gates: drop the dead feature-off stub main from 112 bins (mirrors #99) - #133
Conversation
… declare required-features (#12) Each of these bins has a [[bin]] entry whose required-features turn on the feature its `#[cfg(not(...))] fn main()` stub tests (deepseek41 and glm5next pull in gpu; all(mimo2, glm5next) is covered by the three features gate_mimo2_serve requires), so cargo never builds the bin without them and the stub that printed a hint and exited 2 could not be reached. The real `main` keeps its positive cfg. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Verdict: CLEAN: Cargo already excludes all 112 deleted feature-off stubs through required-features; working entry points are unchanged.
Checked
Duplicates: 0 new items checked; no dryer pairs available.
Complexity: crapper flagged no functions; only inactive entry points were deleted.
Silent failure: 0 new sites; all 112 removed error exits were unreachable through Cargo.
Tests: no tests or assertions changed; mutation checks do not apply.
Gates: no pins, thresholds, gate clauses or working gate entry points changed.
Features: all 112 manifest targets checked across 64 input feature combinations; requirements always enable the retained main.
Performance: no hot path changes; enabled implementation text is unchanged in all 112 files.
Escape catalog: C1–C4 do not match.
Notes
dryer did not run: diagnostics reports no changed Rust files under crates/, although all 112 changed files are there.
No GPU gate evidence was supplied. Runtime gates and PTX scans were not run.
Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/bloomery_chat.rs, crates/gpu-gates/src/bin/bloomery_serve.rs, crates/gpu-gates/src/bin/bloomery_serve_ds41.rs … and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
Mirrors #99 by @avlp12 (their commit, authorship kept), rebased on main (5c98cc7) so the review job can run (fork PRs are refused by pull_request_target). No new stub mains on main since; no changes beyond the rebase.
Prepared by the bloomery AI assistant for @midagedev.