Repository navigation
build: support Objective-C inputs in the Cargo native engine - #1664
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 21, 2026 22:17
zackees
enabled auto-merge
October 21, 2026 22:17
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 build-engine step toward #1332: compile Objective-C and Objective-C++ inputs and preserve their explicit unity groups, individual-source mode and optional PCH semantics.
The complete Cargo application/platform migration remains open. This PR does not complete #1332 or claim macOS application coverage.
Changes
.m.h/.mm.hppgroup members into language-correct wrappers when unity is disabled.RED → GREEN
unsupported native source language Some("m").soldr cargo fmt --all --check: pass.soldr cargo clippy -p obs-build -p obs-studio-rust --all-targets -- -D warnings: pass.git diff --check: pass.The Objective-C fixture uses real language constructs without Cocoa/Foundation dependencies. It exercises both unity modes on macOS when run there, but compiled PCH remains limited to the existing Linux implementation. No macOS run is claimed from local Linux evidence.
No public headers, existing C tests, submodule pointers or workflows are changed.