Skip to content

Cover runtimeexecutor with Stable API guards - #58324

Open
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D118792973
Open

Cover runtimeexecutor with Stable API guards#58324
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D118792973

Conversation

@j-piasecki

Copy link
Copy Markdown
Contributor

Summary:
Classifies runtimeexecutor:runtimeexecutor as a public target under the C++ stable API three-tier visibility model. Adds #include <react/cxxstableapi/UmbrellaGuard.h> to the module's 3 exported headers and introduces the module umbrella React/RuntimeExecutor.h, wiring the guard dependency into BUCK, CMake and CocoaPods and the umbrella into BUCK, CocoaPods, the iOS prebuild header config and the Android prefab export.

Consumers that opt into RN_STRICT_API now get an error if they include the module's headers directly, and should include <React/RuntimeExecutor.h> instead; without that flag the guards are inert, so no existing build changes behaviour.

Changelog: [Internal]

Differential Revision: D118792973

Summary:
Classifies `runtimeexecutor:runtimeexecutor` as a public target under the C++ stable API three-tier visibility model. Adds `#include <react/cxxstableapi/UmbrellaGuard.h>` to the module's 3 exported headers and introduces the module umbrella `React/RuntimeExecutor.h`, wiring the guard dependency into BUCK, CMake and CocoaPods and the umbrella into BUCK, CocoaPods, the iOS prebuild header config and the Android prefab export.

Consumers that opt into `RN_STRICT_API` now get an error if they include the module's headers directly, and should include `<React/RuntimeExecutor.h>` instead; without that flag the guards are inert, so no existing build changes behaviour.

Changelog: [Internal]

Differential Revision: D118792973
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Sep 4, 2026
@meta-codesync

meta-codesync Bot commented Sep 4, 2026

Copy link
Copy Markdown

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D118792973.

@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant