summaryrefslogtreecommitdiffhomepage
path: root/tools/nogo/io_bazel_rules_go-visibility.patch
blob: 6b64b2e85b0da10adb4a0ed5cae8308ce0e49e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/third_party/org_golang_x_tools-extras.patch b/third_party/org_golang_x_tools-extras.patch
index 133fbccc..5f0d9a47 100644
--- a/third_party/org_golang_x_tools-extras.patch
+++ b/third_party/org_golang_x_tools-extras.patch
@@ -32,7 +32,7 @@ diff -urN c/go/analysis/internal/facts/BUILD.bazel d/go/analysis/internal/facts/
  
  go_library(
      name = "go_default_library",
-@@ -14,6 +14,23 @@
+@@ -14,6 +14,20 @@
      ],
  )
  
@@ -43,10 +43,7 @@ diff -urN c/go/analysis/internal/facts/BUILD.bazel d/go/analysis/internal/facts/
 +        "imports.go",
 +    ],
 +    importpath = "golang.org/x/tools/go/analysis/internal/facts",
-+    visibility = [
-+        "//go/analysis:__subpackages__",
-+        "@io_bazel_rules_go//go/tools/builders:__pkg__",
-+    ],
++    visibility = ["//visibility:public"],
 +    deps = [
 +        "//go/analysis:go_tool_library",
 +        "//go/types/objectpath:go_tool_library",