Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 1ce5732

Browse files
committed
build: avoid unnecessary re-evaluation of starlark code
The experimental allow tags propagation flag is a `BuildLanguage` option and causes all Starlark code to be re-invoked. This causes a slow-down when switching between bazel query/ bazel build because the option is not set for `bazel query`. We fix it by applying the option to all commands, using `common`.
1 parent 3e89918 commit 1ce5732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build --incompatible_strict_action_env
2121
build --experimental_remote_merkle_tree_cache
2222

2323
# Ensure that tags applied in BUILDs propagate to actions
24-
build --experimental_allow_tags_propagation
24+
common --experimental_allow_tags_propagation
2525

2626
# Don't check if output files have been modified
2727
build --noexperimental_check_output_files

0 commit comments

Comments
 (0)