Skip to content

Commit 756ed84

Browse files
committed
remove google_legacy_api
1 parent 41f0773 commit 756ed84

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.bazelrc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ startup --windows_enable_symlinks
9292
# common --incompatible_disable_target_default_provider_fields
9393
# common --incompatible_no_rule_outputs_param
9494
# common --incompatible_stop_exporting_language_modules
95+
9596
common --experimental_disable_external_package
9697
common --experimental_platforms_api
9798
common --experimental_repository_cache_hardlinks
99+
98100
common --incompatible_auto_exec_groups
99101
common --incompatible_config_setting_private_default_visibility
100102
common --incompatible_disable_native_repo_rules
@@ -109,12 +111,18 @@ common --incompatible_strict_action_env
109111
common --incompatible_top_level_aspects_require_providers
110112
common --incompatible_use_cc_configure_from_rules_cc
111113

114+
common --incompatible_modify_execution_info_additive
112115
common --modify_execution_info=CppCompile=+supports-path-mapping
113116
common --skip_incompatible_explicit_targets
114117

115118
build --@curl//:use_mbedtls=true
116119
# build --@curl//:http_only=true
117120

121+
122+
# build --experimental_save_feature_state
123+
# saves .s and .ii files but tends to be super slow
124+
# build --save_temps
125+
118126
mod --lockfile_mode=refresh
119127

120128
# Select clang-cl to be the default compiler on Windows
@@ -128,8 +136,6 @@ build:clang-cl --host_per_file_copt="protobuf\\+/.*@-Wno-invalid-offsetof"
128136
build:clang-cl --per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
129137
build:clang-cl --host_per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
130138

131-
# allow newer protobuf to compile
132-
common --experimental_google_legacy_api
133139
common --experimental_enable_android_migration_apis
134140

135141
common:linux --force_pic

0 commit comments

Comments
 (0)