Enable absolute bridgeless with REACT_NATIVE_FORCE_NEW_ARCHITECTURE flag on Wilde

Summary: Changelog: [Internal]

Reviewed By: fkgozali

Differential Revision: D37269572

fbshipit-source-id: ba9ecea2d81075a7ce79e26040924d04b170bf46
This commit is contained in:
Paige Sun
2022-06-21 18:55:29 -07:00
committed by Facebook GitHub Bot
parent c25c4abe4a
commit c2949bd511
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -234,7 +234,7 @@ RCTFatalExceptionHandler RCTGetFatalExceptionHandler(void)
// MARK: - New Architecture Validation - Enable Reporting
#if RCT_NEW_ARCHITECTURE
#if RCT_ONLY_NEW_ARCHITECTURE
static RCTNotAllowedValidation validationReportingEnabled = RCTNotAllowedInBridgeless;
#else
static RCTNotAllowedValidation validationReportingEnabled = RCTNotAllowedValidationDisabled;
@@ -242,7 +242,7 @@ static RCTNotAllowedValidation validationReportingEnabled = RCTNotAllowedValidat
__attribute__((used)) RCT_EXTERN void RCTNewArchitectureValidationSetEnabled(RCTNotAllowedValidation type)
{
#if RCT_NEW_ARCHITECTURE
#if RCT_ONLY_NEW_ARCHITECTURE
// Cannot disable the reporting in this mode.
#else
validationReportingEnabled = type;
+2 -2
View File
@@ -157,7 +157,7 @@
* Note: this is work in progress.
*/
#ifdef REACT_NATIVE_FORCE_NEW_ARCHITECTURE
#define RCT_NEW_ARCHITECTURE 1
#define RCT_ONLY_NEW_ARCHITECTURE 1
#else
#define RCT_NEW_ARCHITECTURE 0
#define RCT_ONLY_NEW_ARCHITECTURE 0
#endif