diff --git a/React/CoreModules/BUCK b/React/CoreModules/BUCK index 2410d229f66..6f3cc25677e 100644 --- a/React/CoreModules/BUCK +++ b/React/CoreModules/BUCK @@ -1,4 +1,4 @@ -load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_fbobjc_enable_exception_lang_compiler_flags_DEPRECATED", "get_preprocessor_flags_for_build_mode") +load("@fbsource//tools/build_defs/apple:flag_defs.bzl", "OBJC_ARC_PREPROCESSOR_FLAGS", "get_preprocessor_flags_for_build_mode") load("@fbsource//tools/build_defs/oss:rn_defs.bzl", "rn_apple_library", "rn_extra_build_flags") load( "@fbsource//xplat/configurations/buck/apple/plugins/sad_xplat_hosted_configurations:react_module_registration.bzl", @@ -19,6 +19,7 @@ rn_apple_library( "-Wno-unknown-warning-option", ], contacts = ["oncall+react_native@xmail.facebook.com"], + enable_exceptions = True, exported_linker_flags = [ "-weak_framework", "UserNotifications", @@ -33,7 +34,6 @@ rn_apple_library( ], header_path_prefix = "React", labels = ["supermodule:ios/default/public.react_native.infra"], - lang_compiler_flags = get_fbobjc_enable_exception_lang_compiler_flags_DEPRECATED(), link_whole = True, platform_preprocessor_flags = [( "linux",