From ecae9f5d57e9386a043342e246d4e4914600d8e9 Mon Sep 17 00:00:00 2001 From: Tiago Quelhas Date: Thu, 8 Feb 2024 10:51:09 +0100 Subject: [PATCH] [7.1.0] Document --incompatible_disallow_unsound_directory_outputs. Fixes #21245. --- .../devtools/build/lib/analysis/config/CoreOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java b/src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java index 25970a6c038059..d089dba6863271 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java @@ -210,12 +210,12 @@ public class CoreOptions extends FragmentOptions implements Cloneable { @Option( name = "incompatible_disallow_unsound_directory_outputs", defaultValue = "true", - documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, + documentationCategory = OptionDocumentationCategory.EXECUTION_STRATEGY, metadataTags = OptionMetadataTag.INCOMPATIBLE_CHANGE, effectTags = {OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION}, help = "If set, it is an error for an action to materialize an output file as a directory. Does" - + " not affect source directories.") + + " not affect source directories. See https://github.com/bazelbuild/bazel/issues/18646.") public boolean disallowUnsoundDirectoryOutputs; // This option is only used during execution. However, it is a required input to the analysis