Repository navigation
Docs: rustdoc builds the GPU crate again (shader_cache's private link) - #2018
Gruzzberry wants to merge 1 commit into
Conversation
The module documentation of victory-gpu's shader_cache links to build(), which is private, so RUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps fails with rustdoc::private_intra_doc_links. Commit 5864aab fixed the same page's other link; this one arrived with the shader cache keyed by the translator. It is written as code, as the other private items are. cargo doc --workspace --no-deps --locked with -D warnings now builds all eleven crates. Assisted-by: Claude Code (Claude Sonnet 5.5)
|
Triage verdict — Ready for maintainer decision ( Evidence
Checks and limits
Next step
This verification was AI-assisted. |
catminou4
left a comment
There was a problem hiding this comment.
Static review only: victory-gpu is Windows-only (D3D12/windows_sys) — nothing compiles or runs on macOS; source review of the diff.
rustdoc builds the GPU crate again (shader_cache private link) — docs fix; nice that GPU rustdoc is maintained.
…_cache's private link)
|
Automated triage for the maintainers.
CI: passing ( Recommending a look, not approving. Generated by Claude Code |
|
Independent local validation (Windows, Rust 1.100.0/MSVC, head e9cc9f0, no game data): with |
…_cache's private link)
|
Code review and rustdoc verification at head
LGTM. |
…_cache's private link)
On main (70564ae),
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --lockedstops at victory-gpu:#675 made rustdoc clean for the loader, GPU and shader crates; the link came back with the translator-keyed shader cache. The fix writes
buildas code, the way #675 did for its siblings. One line of documentation, no code change.What is in it
crates/victory-gpu/src/shader_cache.rs:[`build`]becomes`build`in the module docs.Tested
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --locked --keep-going: fails on main with the error above, builds all crates on the branch.cargo clippy --workspace --all-targets --locked -- -D warningsand the--all-featuresvariant: clean.cargo test --workspace --lockedon main passes except two victory-gpu tests that need a card with a 2^21-descriptor view heap (dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_views; on NVIDIA's 1,000,000 cap, covered by Descriptor tests: take the capped heap's design into account #1770/Test report: RTX 5070 (Blackwell), Windows 11, 70564ae: 471 passed, 5 failed, 7 ignored (4 from the 1,000,000 view heap cap) #1744). A hosted runner has no card and skips them.Not tested
cargo docwith-D warningscould be a CI step; I left that to you.shader_cache.rs's text is hashed into the translation cache key (ENCODING), so any edit to this file, this one included, makes existing cached shaders translate again once.AI use
Claude Code with Claude Sonnet 5.5 found, wrote and tested this; the user reviewed and opened it.
🤖 Generated with Claude Code