gpu, hle: the hostless build compiles again #316

Manually merged
github merged 4 commits from github-bot/gh-316 into main 2026-11-27 12:02:37 +00:00 AGit
Owner

@⁠AnastasisKon on GitHub · 2026-11-27 11:03 UTC · original
AnastasisKon:vibe/cfg-linux-build-9e73da → main · +20 −7 · 3 files · 4 commits · merged 2026-11-27 11:54 UTC

What this changes
Refs #

The hostless cfg path (not(any(windows, target_os = "macos"))) compiles again: #291's dropped_mesh* move left its imports unresolved (the fallback state module now has local ignore stubs, like ignored_state), #285's disk cache is used on Windows/macOS and skipped elsewhere, and create_device hands the title's allocator only on real hosts.

How it was tested
cargo test --target x86_64-unknown-linux-gnu -p victory-gpu -p victory-hle -p xtask -p victory -p victory-loader (the sandbox is Linux; the darwin run is yours — 140 + 95 + 7 + 9 passed, main fails to compile without the fix)
cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings
Not needed (cfg-only changes; the Windows and macOS builds are untouched — the gates wrap code that never ran on those targets)
Checklist
No game files, game code, disassembly listings or SDK files are included
No guesses about console behaviour (pure cfg fixes)
No new diagnostics

**@⁠AnastasisKon** on GitHub · 2026-11-27 11:03 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/316) `AnastasisKon:vibe/cfg-linux-build-9e73da` → `main` · +20 −7 · 3 files · 4 commits · merged 2026-11-27 11:54 UTC What this changes Refs #<the issue number> The hostless cfg path (not(any(windows, target_os = "macos"))) compiles again: #291's dropped_mesh* move left its imports unresolved (the fallback state module now has local ignore stubs, like ignored_state), #285's disk cache is used on Windows/macOS and skipped elsewhere, and create_device hands the title's allocator only on real hosts. How it was tested cargo test --target x86_64-unknown-linux-gnu -p victory-gpu -p victory-hle -p xtask -p victory -p victory-loader (the sandbox is Linux; the darwin run is yours — 140 + 95 + 7 + 9 passed, main fails to compile without the fix) cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings Not needed (cfg-only changes; the Windows and macOS builds are untouched — the gates wrap code that never ran on those targets) Checklist No game files, game code, disassembly listings or SDK files are included No guesses about console behaviour (pure cfg fixes) No new diagnostics
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 11:05:35 +00:00
github manually merged commit fdfd300a7f into main 2026-11-27 12:02:37 +00:00
Author
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-27 11:54 UTC · original

Thank you. I read the diff: on macOS and Windows the code is the same as before and only the other targets change. I have not built it for Linux myself (our CI does not), so I am taking your Linux test run as it is.

Please edit the description: the line Refs #<the issue number> is still the template text; it should say Refs #315. Merged.

**@⁠LakshanSivakumar** on GitHub · 2026-11-27 11:54 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/316#issuecomment-7217620208) Thank you. I read the diff: on macOS and Windows the code is the same as before and only the other targets change. I have not built it for Linux myself (our CI does not), so I am taking your Linux test run as it is. Please edit the description: the line `Refs #<the issue number>` is still the template text; it should say `Refs #315`. Merged.
This discussion has been locked. Commenting is limited to contributors.
No description provided.