Repository navigation
Conversation
Co-authored-by: borosf <borosf@users.noreply.github.com>
|
Linux: works as described, and the crates it leaves out type-check from Linux too Arch Linux, Rust 1.98.1 from
So the command could check the whole workspace when AI-assisted (Claude Code); numbers from my own runs. |
|
Independent local validation for VIctory PR #2362 (Windows, Rust 1.100.0/MSVC, head c7c4da7, no game data/DRM): |
Summary
cargo xtask checktype-checks forx86_64-pc-windows-msvcfrom any host: code behind#[cfg(windows)](the whole victory-shader GPU test harness among it) does not compilefor a plain
cargo checkoff Windows, so its type errors first appear in CI — anE0283in an untyped
CreateDescriptorHeapreached the review of another PR exactly that way,and a reviewer's machine time found it before CI did. The crates that bind blake3's C code
(victory-gpu and everything below it) cannot cross-build without a Windows-capable C
toolchain, so the command covers the rest and its docs say which and why.
claiming: new (not in CLAIMS.md; commenting from this account is blocked by the
integration's permissions, so the claim rides this pull request).
Verification
cargo run -p xtask --locked -- check: passes on Linux afterrustup target add x86_64-pc-windows-msvc(a target the toolchain file already pins);the same check is what caught the Windows-only type error above before a push.
cargo run -p xtask --locked -- policy: 183 files ok.cargo clippy -p xtask --all-targets --locked -- -D warnings: clean in both clippyconfigurations CI runs.