Flip --experimental_no_product_name_out_symlink default value to true.
RELNOTES: Bazel will no longer create a bazel-out symlink if --symlink_prefix is specified: the directory pointed to via the bazel-out symlink is accessible via ${symlink_prefix}-out. If this causes problems for you, set --experimental_no_product_name_out_symlink=false in your builds and file an issue.
@@ -470,10 +470,13 @@ public class BuildRequestOptions extends OptionsBase {
@Option(
name = "experimental_no_product_name_out_symlink",
- defaultValue = "false",
+ defaultValue = "true",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
metadataTags = OptionMetadataTag.EXPERIMENTAL,
effectTags = {OptionEffectTag.EXECUTION},
+ deprecationWarning =
+ "This flag is deprecated and will be removed soon. Please file an issue if you need to "
+ + "use it",
help =
"If this flag is set to true, the <product>-out symlink will not be created if "
+ "--symlink_prefix is used.")
