Commit bea8d9e
Cover
Summary:
Pull Request resolved: #58023
Classifies `jsc:JSCRuntime` as a for-frameworks target under the C++ stable API three-tier visibility model. Adds `#include <react/cxxstableapi/FrameworksGuard.h>` to the module's only header, `JSCRuntime.h`, and declares the guard dependency in BUCK. Consumers that opt into `RN_STRICT_API` now get a suppressible warning if they include it directly, silenced by defining `RN_ALLOW_FRAMEWORKS`; without that flag the guard is inert, so no existing build changes behaviour.
There is no CMake or podspec wiring to update — the module has no `CMakeLists.txt` and no podspec compiles it.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D116601629
fbshipit-source-id: adab5ed6974cac12eb140c452946f64311fc47d6jsc:JSCRuntime with Stable API guards (#58023)1 parent 2fa055f commit bea8d9e
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments