Docs: rustdoc builds the loader, GPU and shader crates without warnings #675
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/675"
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 Marvisak/VIctory. Originally posted by lameloball2813-ui on 2026-11-24T06:39:48Z.
cargo doc --workspace --no-depsonmainwarns five times outsidevictory-formats:lib.rs:7prepareis both a function and a module (ambiguous link)list.rs:9crate::drawshader_cache.rs:9encodeanddecodeemit/validator.rs:3super::container::hashThe loader link now names the function (
[prepare()]). The others name private items, which rustdoc can't link for readers of the public docs, so they stay as code without a link. The text is unchanged.The one warning left, in
victory-formats(texture.rs:16, privateMICRO), is already fixed in #315, so this PR leaves that file alone.Testing
Windows 11:
cargo doc --workspace --no-depsnow reports only thevictory-formatswarning.cargo xtask policyis ok. Comments only; no code changes.Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T06:47:19Z.
Review: APPROVED
Verified locally on macOS 26 arm64, rustc 1.98.1 (aarch64-apple-darwin) at head
5864aaba:cargo doc -p victory-loader -p victory-shader -p victory-core -p victory-formats -p victory-pe -p victory-pipeline -p victory-game -p xtask --no-deps --locked: clean, no rustdoc warnings.(victory-gpu/victory-hle can't rustdoc on macOS at all — main's known cfg issue — so those two files' doc fixes are verified by inspection only.)
Approving.
Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T06:49:25Z.
Review: APPROVED
LGTM! Tested on Windows 11 with MSVC Rust 1.98.1. cargo doc for ictory-loader, ictory-gpu, and ictory-shader builds cleanly without warnings. Resolves ambiguous function/module references and private item links in public documentation.