Repository navigation
build: scope Objective-C ARC options to their native language - #1665
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 21, 2026 22:29
zackees
enabled auto-merge
October 21, 2026 22:29
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
Next dependent prerequisite for #1332: language-scoped Objective-C and Objective-C++ compilation flags, needed for ARC compilation without passing Objective-C flags to C/C++ sources.
Refs #1332. This does not complete the Cargo application conversion. The real macOS core contains both ARC and non-ARC Objective-C groups: per-source overrides remain necessary before wiring that graph. These fields set language defaults and preserve the existing non-ARC behavior when empty.
Changes
Add
objc_compile_optionsandobjcpp_compile_options, applied only to the matching compilation batch before compiling its PCH. C and C++ compiler/link-driver behavior remains unchanged.RED → GREEN
ARC flag missingandObjective-C flags missing or contaminated. New option fields are inert in RED.soldr cargo fmt --all: pass.soldr cargo clippy -p obs-build -p obs-studio-rust --all-targets -- -D warnings: pass.git diff --check: pass.No macOS application run is claimed. No new workflow files, test executables, public-header changes, submodule pointers or existing C test changes.