Skip to content

Cover react/renderer/runtimescheduler with Stable API guards - #58150

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

Cover react/renderer/runtimescheduler with Stable API guards#58150
j-piasecki wants to merge 1 commit into
react:mainfrom
j-piasecki:export-D117508561

Conversation

@j-piasecki

Copy link
Copy Markdown
Contributor

Summary:
Classifies react/renderer/runtimescheduler:runtimescheduler as a "for frameworks" target under the three-tier C++ stable API visibility model. Consumers that opt into RN_STRICT_API now get a warning if they include its headers directly, which they can acknowledge with RN_ALLOW_FRAMEWORKS; without that flag the guards are inert, so no existing build changes behaviour.

RuntimeScheduler_Legacy.h gets its guard above the RCT_REMOVE_LEGACY_ARCH block so it is still evaluated when the legacy architecture is compiled out.

Changelog: [Internal]

Differential Revision: D117508561

Summary:
Classifies `react/renderer/runtimescheduler:runtimescheduler` as a "for frameworks" target under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get a warning if they include its headers directly, which they can acknowledge with `RN_ALLOW_FRAMEWORKS`; without that flag the guards are inert, so no existing build changes behaviour.

`RuntimeScheduler_Legacy.h` gets its guard above the `RCT_REMOVE_LEGACY_ARCH` block so it is still evaluated when the legacy architecture is compiled out.

Changelog: [Internal]

Differential Revision: D117508561
@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 Aug 26, 2026
@facebook-github-tools facebook-github-tools Bot added p: Software Mansion Partner: Software Mansion Partner labels Aug 26, 2026
@meta-codesync

meta-codesync Bot commented Aug 26, 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 D117508561.

@facebook-github-tools facebook-github-tools Bot added the p: Facebook Partner: Facebook label Aug 26, 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