From 174c67f0911c1cb013658f9b2b2d8959d6ef388c Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 10 Oct 2022 11:47:26 -0700 Subject: [PATCH] Default --incompatible_enforce_config_setting_visibility to true. Fixes https://github.com/bazelbuild/bazel/issues/12932. PiperOrigin-RevId: 480140082 Change-Id: I7ae35e79a9f8be163c4869ea195267ff79116221 --- .../google/devtools/build/lib/pkgcache/PackageOptions.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java b/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java index e0ae0ba93f2fba..44574dd4b2efc5 100644 --- a/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java +++ b/src/main/java/com/google/devtools/build/lib/pkgcache/PackageOptions.java @@ -122,7 +122,9 @@ public ParallelismConverter() throws OptionsParsingException { @Option( name = "incompatible_enforce_config_setting_visibility", - defaultValue = "false", + // TODO(b/179944632): set this and --incompatible_config_setting_private_default_visibility + // to true, then make these no-ops, then remove. + defaultValue = "true", documentationCategory = OptionDocumentationCategory.STARLARK_SEMANTICS, effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS}, metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE},