Linux: finish the non-Windows build and tests #449
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/449"
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 fxceless/victory-fork. Originally posted by iloveslopware on 2026-11-25T00:59:16Z.
What this does
Completes the Windows gating the tree already started at module level, so the whole workspace builds, lints and tests on a Linux host with zero warnings — while staying identical on Windows: every edit adds cfg or moves code verbatim under one.
allow(dead_code)where the unit tests still do.#[test]attributes stay for the Windows run.victory translaterefuses--validateand--pipelinesoff Windows with a message naming what each needs (dxil.dll; a D3D12 host), instead of not building there. A memory-value wait counts as met off Windows, as an unmapped one already does.Verification
cargo clippy --workspace --all-targets --locked -- -D warningspasses on default features and on--all-features;cargo test --workspace --lockedruns 294 tests, 0 failures (rebased on currentmain,a803c87).cargo check --target x86_64-pc-windows-msvc --workspace --all-targets(clang-cl 23.1.5) is warning-free, so the CI gates' axis is unchanged.No formatting changes: the tree is not rustfmt-clean, so the diff stays reviewable (21 files, +168/−63).
Related: #128 (same goal — this is the minimal, no-churn variant), #192 (test-warning subset), #37.
This PR was AI assisted (GLM via OpenCode), directed and verified by the account owner.
Imported from fxceless/victory-fork. Originally posted by iloveslopware on 2026-11-25T03:10:43Z.
Rebased onto current
main(c96b4f2), carrying #491's one-commit clippy fix (d28e0dd) underneath so the branch is clippy-clean on the default feature set forx86_64-pc-windows-msvcas well — that dead-code red ismain's, not this change's (see #491). Verified on the restack: Linux workspace clippy and tests, and cross-target Windows clippy with default features and--all-features, all green. The commit itself is unchanged. AI-assisted (GLM via OpenCode).Imported from fxceless/victory-fork. Originally posted by iloveslopware on 2026-11-25T19:22:15Z.
Rebased onto current
main(d510ee4) as01ce676, still carrying #491's one-commit clippy fix underneath so the default-features lane stays consistent.Verified on the restack (Linux host, cross-target for the Windows lanes):
cargo build --release -p victory— PASScargo clippy --workspace --all-targets --locked -- -D warnings— PASS (Linux host)cargo test --workspace --locked— PASS (295 passed, 0 failed, 6 ignored)--all-features— fails only on lints that already fail at the merge base: the inventory is identical on plaind510ee4(is_multiple_of,contains_key+insert,depth_written,sort_unstable_by_key), so this diff adds zero new ones; those are tracked in #642/#755/#841.With this branch the workspace builds, lints, and tests clean off Windows on current
main; the remaining win-side clippy reds at this commit belong tomainitself.AI-assisted: the rebase and verification runs were machine-assisted; the diff and its rationale are as described.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.