Files
Jakub Piasecki 5464221ab8 Cover cxxreact:bridge with Stable API guards (#58404)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/58404

Classifies `cxxreact:bridge` as a private target under the three-tier C++ stable API visibility model. Consumers that opt into `RN_STRICT_API` now get an error if they include its headers directly; without that flag the guards are inert, so no existing build changes behaviour. `ReactNativeVersion.h` is a generated file, so its guard also goes into `scripts/releases/templates/ReactNativeVersion.h-template.js`; without that the next version stamp would rewrite the header and silently drop the guard from every release and nightly artifact.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D119163927

fbshipit-source-id: 9d436770753079448173e3bcb8d4d5e9c13ae8e3
2026-09-09 07:33:01 -07:00
..