From 5b8b45ea1c10397e40956d58e3a393ea892bad13 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Mon, 8 Jun 2026 02:21:18 -0700 Subject: [PATCH] Reduce visbility of JSCRuntime target (#57093) Summary: This is only pulled in by a few targets. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D107651646 --- .../react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm b/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm index 06d61e8bb972..2cd08d2ff90b 100644 --- a/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm +++ b/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm @@ -10,9 +10,10 @@ namespace facebook::react { -RCTJscInstance::RCTJscInstance() {} +RCTJscInstance::RCTJscInstance() = default; -std::unique_ptr RCTJscInstance::createJSRuntime(std::shared_ptr msgQueueThread) noexcept +std::unique_ptr RCTJscInstance::createJSRuntime( + std::shared_ptr /*msgQueueThread*/) noexcept { return std::make_unique(jsc::makeJSCRuntime()); }