query --incompatible_comprehension_variables_do_not_leak=false

Also set this flag for `bazel query`

See #52677
This commit is contained in:
Matt Liggett 2017-10-09 09:59:07 -07:00
parent 92210a7d76
commit 67ca7a53b5

View File

@ -14,11 +14,14 @@ build --sandbox_fake_username
# rules_go@82483596ec203eb9c1849937636f4cbed83733eb has a typo that
# inadvertently relies on comprehension variables leaking.
# TODO(ixdy): Remove this default once rules_go is bumped.
# TODO(ixdy): Remove these defaults once rules_go is bumped.
# Ref kubernetes/kubernetes#52677
build --incompatible_comprehension_variables_do_not_leak=false
query --incompatible_comprehension_variables_do_not_leak=false
# TODO(ixdy): remove the following once repo-infra is bumped.
build --incompatible_disallow_set_constructor=false
query --incompatible_disallow_set_constructor=false
# Enable go race detection.
test --features=race