github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/tools/rules_go_visibility.patch (about)

     1  diff --git a/third_party/org_golang_x_tools-gazelle.patch b/third_party/org_golang_x_tools-gazelle.patch
     2  index 7bdacff5..2fe9ce93 100644
     3  --- a/third_party/org_golang_x_tools-gazelle.patch
     4  +++ b/third_party/org_golang_x_tools-gazelle.patch
     5  @@ -2054,7 +2054,7 @@ diff -urN b/go/analysis/internal/facts/BUILD.bazel c/go/analysis/internal/facts/
     6   +        "imports.go",
     7   +    ],
     8   +    importpath = "golang.org/x/tools/go/analysis/internal/facts",
     9  -+    visibility = ["//go/analysis:__subpackages__"],
    10  ++    visibility = ["//visibility:public"],
    11   +    deps = [
    12   +        "//go/analysis",
    13   +        "//go/types/objectpath",
    14  @@ -2078,7 +2078,7 @@ diff -urN b/go/analysis/internal/facts/BUILD.bazel c/go/analysis/internal/facts/
    15   +alias(
    16   +    name = "go_default_library",
    17   +    actual = ":facts",
    18  -+    visibility = ["//go/analysis:__subpackages__"],
    19  ++    visibility = ["//visibility:public"],
    20   +)
    21   +
    22   +go_test(