diff --git a/src/main/java/com/google/devtools/build/lib/packages/semantics/BuildLanguageOptions.java b/src/main/java/com/google/devtools/build/lib/packages/semantics/BuildLanguageOptions.java index 72ab9814b220af..ba12602767ae44 100644 --- a/src/main/java/com/google/devtools/build/lib/packages/semantics/BuildLanguageOptions.java +++ b/src/main/java/com/google/devtools/build/lib/packages/semantics/BuildLanguageOptions.java @@ -702,10 +702,10 @@ public final class BuildLanguageOptions extends OptionsBase { + "from the top level target instead") public boolean incompatibleDisableObjcLibraryTransition; - // cleanup, flip, remove after Bazel LTS in Nov 2023 + // remove after Bazel LTS in Nov 2023 @Option( name = "incompatible_fail_on_unknown_attributes", - defaultValue = "false", + defaultValue = "true", documentationCategory = OptionDocumentationCategory.STARLARK_SEMANTICS, effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS}, metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, @@ -905,7 +905,7 @@ public StarlarkSemantics toStarlarkSemantics() { public static final String INCOMPATIBLE_DISABLE_OBJC_LIBRARY_TRANSITION = "-incompatible_disable_objc_library_transition"; public static final String INCOMPATIBLE_FAIL_ON_UNKNOWN_ATTRIBUTES = - "-incompatible_fail_on_unknown_attributes"; + "+incompatible_fail_on_unknown_attributes"; // non-booleans public static final StarlarkSemantics.Key EXPERIMENTAL_BUILTINS_BZL_PATH =