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): |
|
Automated triage for the maintainers. Needs work: needs the maintainer's decision. The head is unchanged since the last triage ( On your reply: agreed. Add the Generated by Claude Code |
|
Understood that the command itself needs the maintainer's want. If it's taken: the thread's clang-cl datapoint is worth folding in as a doc line — the whole workspace, victory-gpu included, type-checks for the Windows target from Linux with CC_x86_64_pc_windows_msvc=clang-cl AR_x86_64_pc_windows_msvc=llvm-lib cargo check --workspace --all-targets --locked --target x86_64-pc-windows-msvc — happy to add that sentence if that's the direction. |
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.