Repository navigation
build: preserve source options and add the macOS Cargo core graph - #1669
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 21, 2026 22:56
zackees
enabled auto-merge
October 21, 2026 22:56
8 of 15 tasks
This was referenced Oct 21, 2026
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Dependent #1332 implementation: canonical macOS C-reference and production Rust/C core graphs, per-source ARC/non-ARC settings, optional PCH, and validation through the existing macOS lane. The full application conversion remains open.
Refs #1332. No frontend/plugin/graphics/release-packaging completion is claimed; CMake remains authoritative pending the complete acceptance criteria.
Changes
libobs/build/source-sets.jsonfor macOS sources. Explicit OBS dependency bundle input avoids host pkg-config selection during cross compilation.obs-sysaccepts and tracksOBS_SYS_NATIVE_DEPENDENCIESthrough the same graph.RED → GREEN
Local evidence and limits
@rpath/libobs.framework/Versions/A/libobs.obs-sysARM64 cross-build passes using the explicit dependency bundle and freshly built release Rust archive.soldr cargo fmt --all, targeted Clippy withlibobs-integrationand-D warnings,git diff --check, and shell syntax check pass.These are cross-build/export checks on Linux, not macOS runtime passes or controlled speed benchmarks. Actual CMake-export comparison and unchanged CTest runtime checks run in the macOS lane and remain required.
No public headers, existing C tests, submodule pointers, or workflow files are changed. Existing Application harness is reused.
Final SIMD alignment
Final follow-up
dcbb4e450adds the reference macOS SIMDe/OpenMP compilation settings, confirmed againstcmake/macos/compilerconfig.cmake. The actual ARM64 core pair passes again with 1,877 matching exports. The same reviewer checked this small follow-up and found no issues. Final-head CI governs landing.Objective-C rebuild probe correction
The actual macOS Rust lane exposed a fixture issue: rebuilding an Objective-C dylib and loading the same path in one process returns the retained original image. Apple's
MachOAnalyzer::neverUnload()explicitly retains Objective-C dylibs (loader policy).Follow-up
7c03fac8aruns each fixture's loaded-symbol assertion in a fresh process using the same existing test executable and exact owning test selector. All expected values, header/flag rebuilds, and unity/PCH modes remain intact; a1 passedguard rejects a zero-test child invocation. No production code or existing C tests change. All 14 native-build contracts, targeted Clippy, formatting, and the same reviewer's follow-up review pass locally. Final-head macOS CI remains required.Actual macOS and Windows runtime evidence
Run 39690343380, head
dcbb4e450, completed both Tier 2 platform jobs successfully. macOS: 1,877 matching exports, canonical Cargo macOS core integration test and bundledobs-syscheck passed; all 199 unchanged CTests passed against each Cargo-built core (reference and hybrid), in addition to the existing CMake pair. Windows: all 174 native tests passed against each existing reference/hybrid core. This run's macOS Rust fixture failure is addressed by7c03fac8a; the final-head run must confirm that correction before merge.Final-head CI
All required checks passed on
7c03fac8ain run 39692497038, including macOS/Windows Rust tests, cross-platform lint and both Tier 2 runtime jobs. The PR entered the normal merge queue; merge-result checks remain the final landing gate.