Skip to content

build: add the canonical Windows Cargo core graph - #1679

Merged
zackees merged 6 commits into
masterfrom
infra/1332-windows-core
Oct 22, 2026
Merged

zackees merged 6 commits into
masterfrom
infra/1332-windows-core

Conversation

@zackees

@zackees zackees commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Scope

Refs #1332. Add the canonical Windows Cargo core graph, native resources and MSVC PCH support. The full application conversion remains open; CMake remains authoritative pending complete acceptance.

Changes

  • Build reference and hybrid Windows cores using canonical source sets, the explicit dependency bundle and existing Rust export fragments.
  • Compile Windows resources and track included inputs; retain MSVC PCH objects for shared libraries, executables and archives.
  • Extend existing Windows Tier 2 to compare exports, check bundled obs-sys, prove DLL selection with positive and wrong-file controls, and run unchanged native tests against both Cargo cores.
  • Resolve the actual DLL export for loader identity checks, avoiding the executable import thunk identified during review.

RED evidence

Commits 5f7ce7152, 481af81f0, 6d23062d6 add contracts before implementation. Native Windows RED run: 36 passed, 2 failed, for missing resources and unimplemented MSVC PCH.

Local GREEN evidence

  • 16 native-build contracts passed, including explicit Windows cross-build resource and PCH contracts.
  • Actual Windows reference/hybrid pairs: 1,794 matching exports across unity/PCH combinations; 1,790 with HEVC disabled.
  • Bundled obs-sys Windows cross-build passed.
  • 21 policy checks, targeted Clippy with warnings denied, formatting and PowerShell AST parsing passed.
  • Loader fix focused canonical-graph replay passed.
  • One primary reviewer covered all changed language buckets. The loader finding was fixed and reviewed again: clud-review: clean; review agents launched: 1.

Windows cross-build results do not establish native runtime results. Final-head native Windows CI passed: 1,794 exact exports against the CMake reference; positive and wrong-file loader controls; all 174 unchanged native tests against each Cargo core; bundled obs-sys; resource and PCH contracts. All final-head PR checks passed, including macOS Tier 2. Submitted to the normal merge queue; merge-result validation remains required. No controlled cache-performance claim is made. No public headers, existing C tests or new workflow files were changed.

Native Windows GREEN evidence

Windows Tier 2 job and Windows Rust tests pass on 12418cb39. The full Cargo core pair uses unity on/PCH on; bundled obs-sys uses PCH off. Existing CMake pair tests also pass.

@zackees
zackees marked this pull request as ready for review October 22, 2026 01:00
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit 82546b6 Oct 22, 2026
25 checks passed
@zackees
zackees deleted the infra/1332-windows-core branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant