Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2890"
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 arogan178 on 2026-11-25T23:09:05Z.
maindoes not build on Linux (#90):cargo check --workspace --all-targetsat842b0cbstops with 21 errors invictory-gpuandvictory-shader. That blocks contributors on Linux from running the tests at all.This carries #2334, which conflicts with
main, rebased onto842b0cb. Its commits keep their authors. #2334 in turn carries #1017; its description lists what the gates do.What is new here
xgameui.rs.mainadded apasswordparameter toask. The off-Windowsasktakes it too and still cancels.0721c05: gates for codemaingained after #2334.descriptor::fallback_samplersis re-exported on Windows only, beside itshostmodule.a_released_view_heap_drops_its_page_tableruns on Windows only. It reads the host heap andmemory.tracing::warn!, becausexmemis Windows-only.password_scope_masks_the_edit_controlchecks the edit-control style on Windows only. The scope-to-password check still runs everywhere.loweredis mutable on Windows only, sounused_mutis allowed off Windows.5333d11: a Linux CI job, somainstays building off Windows. Since #2334 was opened,mainbroke the Linux build twice more. The job runs onubuntu-latestwith the same clippy gates and tests as the Windows job. The job itself is from #2670.No behaviour changes on Windows.
Proof
On CachyOS Linux, Rust 1.98.1:
cargo clippy --workspace --all-targets --locked -- -D warnings: clean. The same command with--all-featuresis also clean.cargo test --workspace --locked: 458 passed, 0 failed.linuxjob and the Windowscheckjob both pass.mainat842b0cb:cargo check --workspace --all-targetsfails with 21 errors.--target x86_64-pc-windows-msvc, withclang-clforblake3's C files): both CI clippy gates are clean. CI here runs the Windows tests.cargo xtask policy: 191 files ok.Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T23:37:10Z.
Review: COMMENTED
Scoped review: the Linux job mirrors the Windows one (clippy + all-features + tests), and the cfg-gating is mechanical — windows-only modules/import paths behind cfg(windows) with anyhow::Context split where needed. Catching non-Windows breakage in CI is worth the maintenance surface. LGTM.
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-25T23:52:59Z.
Review: COMMENTED
Verified head
5333d11ccleanly merged ontoorigin/main(63bcca43) on Windows 11 x64 (NVIDIA GeForce RTX 5090 + D3D12 WARP +VICTORY_D3D12_DEBUG=1).Code & Windows Regression Review
#[cfg(windows)]/#[cfg(not(windows))]gates preserve Windows behavior cleanly (victory-hle/src/runtime.rskeepsstd::path::absoluteon Windows; PEcurrent_exe()self-parse tests and Windows-only API/UI tests are gated appropriately; non-WindowsValidator/Hoststubs return clear errors).crates/victory-shader/src/emit/lower.rsis520,798B (+235 B vs63bcca43), safely under the 512 KiB limit.#2907):#2907callsvictory_gpu::adapter_identity(),victory_gpu::set_caption_status(...), andcrate::prebuild::run(...)unconditionally fromapps/victory/src/startup.rs, so whichever PR lands second will need non-Windows#[cfg]gates/stubs there.Local Verification (Windows 11 x64)
cargo clippy --locked --workspace --all-targets -- -D warnings(default and--features victory-gpu/diagnostics): clean.cargo xtask policy:191 files ok.victory(14+4),victory-core(13),victory-formats(46),victory-game(15),victory-hle(154+2),victory-loader(35+4),victory-pe(36),victory-pipeline(8),xtask(6).victory-gpu(VICTORY_D3D12_DEBUG=1,--features diagnostics): RTX 5090root::tests11/11; WARPhost::tests+descriptor::host::tests31/31,root/list/queue/fence/resource/descriptor47/47,frame::tests2/2,placed_uav_tests1/1.victory-shader:emit::lower::tests+emit::tests50/50 passed.Looks clean on the Windows side and ready to merge.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T04:29:33Z.
Automated triage for the maintainers.
Proposed close. Out of scope. This makes the workspace build and test off Windows, with stubs and
cfggates acrossvictory-gpu,victory-hle,victory-shaderandapps/victory, plus a newlinuxjob (with a third-party cache action) in.github/workflows/ci.yml. Other platforms are outside this project's scope, CI changes are the maintainer's call, and by its own description it re-packages #2334, another contributor's open PR. If a Windows-side fix is mixed in, please send it as its own small PR with evidence.CI: passing.
This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the
triage: proposed closelabel.Generated by Claude Code
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.