commit | 3f791e7668ad1a9f6570b7d08b388eee284f3fab | [log] [tgz] |
---|---|---|
author | laurentlb <laurentlb@google.com> | Tue Mar 26 08:01:28 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 26 08:03:08 2019 -0700 |
tree | e7ee54307fb64fa2cd13b016cd77153c1c60f3d1 | |
parent | f7e60d2b30d0f1656fd52283b270d2b9c6df1e15 [diff] [blame] |
Enable incompatible_disallow_load_labels_to_cross_package_boundaries by default Fixes https://github.com/bazelbuild/bazel/issues/6408 Tested: https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/52 RELNOTES: `--incompatible_disallow_load_labels_to_cross_package_boundaries` is enabled by default PiperOrigin-RevId: 240347889
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java b/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java index 9e54d4c..c60216d 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java
@@ -219,7 +219,7 @@ .incompatibleDisallowFileType(true) .incompatibleDisallowLegacyJavaProvider(false) .incompatibleDisallowLegacyJavaInfo(false) - .incompatibleDisallowLoadLabelsToCrossPackageBoundaries(false) + .incompatibleDisallowLoadLabelsToCrossPackageBoundaries(true) .incompatibleDisallowNativeInBuildFile(false) .incompatibleDisallowOldStyleArgsAdd(true) .incompatibleDisallowStructProviderSyntax(false)