Cover cxxreact:module with Stable API guards (#58402)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/58402

Classifies `cxxreact:module` 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.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D119163922

fbshipit-source-id: 70dc5f1276c5181baffa4807b4e255513b906a83
This commit is contained in:
Jakub Piasecki authored and meta-codesync[bot] committed 2026-09-09 07:33:01 -07:00
1 parent 5cd5e393f5
commit ad3ed6ef4d
3 files changed
+6

No files matched your search

@@ -7,6 +7,8 @@
#pragma once
#include <react/cxxstableapi/PrivateGuard.h>
#include <functional>
#include <map>
#include <tuple>
@@ -7,6 +7,8 @@
#pragma once
#include <react/cxxstableapi/PrivateGuard.h>
#include <folly/dynamic.h>
namespace facebook {
@@ -7,6 +7,8 @@
#pragma once
#include <react/cxxstableapi/PrivateGuard.h>
#include <exception>
#include <string>