From a78d6f4d0e163007b118ec69fefbf023ec4df8d0 Mon Sep 17 00:00:00 2001 From: Gang Zhao Date: Wed, 22 Apr 2026 10:02:40 -0700 Subject: [PATCH] Exclude metainternal from C++ API snapshots (#56545) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56545 Add */metainternal/* to top-level exclude_patterns in the C++ API snapshot config. This directory may contain internal headers that are not part of the public React Native C++ API surface. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D101879633 fbshipit-source-id: a0118c146ba6eca667671bd572cd39c59e339469 --- scripts/cxx-api/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/cxx-api/config.yml b/scripts/cxx-api/config.yml index f549da59242..08de62739e2 100644 --- a/scripts/cxx-api/config.yml +++ b/scripts/cxx-api/config.yml @@ -6,6 +6,7 @@ exclude_patterns: - "*/test/*" - "*/test_helper/*" - "*/stubs/*" + - "*/metainternal/*" exclude_symbols: - "Fantom"