Docs: rustdoc builds the formats and loader crates without warnings #272
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/272"
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 SkippySteve on 2026-11-24T01:58:20Z.
cargo doc --no-depswarns twice on main, in crates that document on any host:MICROis a private table, so the public module page can't link to it. It stays in code font, without the link.[`prepare()`]. rustdoc resolves it to the function and no longer has to choose between the function and thepreparemodule.The change is two comment lines. No code changes.
Testing (Linux)
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps -p victory-core -p victory-pe -p victory-loader -p victory-formats -p victory-pipeline -p victory-game -p victory-shaderpasses. On main it fails on the two warnings above.cargo clippy -p victory-formats -p victory-loader --all-targets -- -D warningsis clean.cargo test -p victory-formats: 20 passed, 3 ignored.cargo test -p victory-loader: the threeprepare::teststhat parse the test's own binary fail on Linux, both here and on main ("Unknown file magic", because that binary is ELF). This PR doesn't touch them.Imported from Marvisak/VIctory. Originally posted by SkippySteve on 2026-11-24T02:27:55Z.
Superseded by #315, which now includes this rustdoc fix (same
texture.rs).Pull request closed