Skip to content

Commit c94d407

Browse files
authored
Update bazel incompatible flag list (#4891)
Note one of these was added in 8.0.1, so this PR requires #4888. I just forgot to check flags when updating, and figured it's just as well to split this. - `--incompatible_disable_native_apple_binary_rule`: Not sure why I didn't have this before, maybe a copy-paste error? It's not new, it's documented as deprecated... but even though it should be a no-op, bazelisk recommends adding it. - `--incompatible_disallow_empty_glob`: #4783 removed the conflict; I mistakenly removed the comment instead of uncommenting - `--incompatible_locations_prefers_executable`: New flag; https://github.com/bazelbuild/bazel/releases/tag/8.0.1
1 parent 6af3d05 commit c94d407

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,12 @@ common --incompatible_default_to_explicit_init_py
166166
common --incompatible_depset_for_java_output_source_jars
167167
common --incompatible_depset_for_libraries_to_link_getter
168168
common --incompatible_disable_native_android_rules
169+
common --incompatible_disable_native_apple_binary_rule
169170
common --incompatible_disable_native_repo_rules
170171
common --incompatible_disable_objc_library_transition
171172
common --incompatible_disable_target_provider_fields
172173
common --incompatible_disallow_ctx_resolve_tools
174+
common --incompatible_disallow_empty_glob
173175
common --incompatible_disallow_legacy_py_provider
174176
common --incompatible_disallow_sdk_frameworks_attributes
175177
common --incompatible_disallow_struct_provider_syntax
@@ -185,6 +187,7 @@ common --incompatible_fail_on_unknown_attributes
185187
common --incompatible_fix_package_group_reporoot_syntax
186188
common --incompatible_java_common_parameters
187189
common --incompatible_legacy_local_fallback
190+
common --incompatible_locations_prefers_executable
188191
common --incompatible_make_thinlto_command_lines_standalone
189192
common --incompatible_merge_fixed_and_default_shell_env
190193
common --incompatible_merge_genfiles_directory

0 commit comments

Comments
 (0)