summaryrefslogtreecommitdiffhomepage
path: root/tools/checkunsafe/BUILD
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2019-07-09 16:42:54 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-09 16:44:06 -0700
commitdea3cb92f2c9fffb604cedde6998b3209c91e716 (patch)
tree41f1ac37d1f8b80861cfb63da9bbaca6c6a1c9da /tools/checkunsafe/BUILD
parentcceef9d2cfbf72a7ae4feac2e53e46179c33155d (diff)
build: add nogo for static validation
PiperOrigin-RevId: 257297820
Diffstat (limited to 'tools/checkunsafe/BUILD')
-rw-r--r--tools/checkunsafe/BUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/checkunsafe/BUILD b/tools/checkunsafe/BUILD
new file mode 100644
index 000000000..d85c56131
--- /dev/null
+++ b/tools/checkunsafe/BUILD
@@ -0,0 +1,13 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_tool_library")
+
+package(licenses = ["notice"])
+
+go_tool_library(
+ name = "checkunsafe",
+ srcs = ["check_unsafe.go"],
+ importpath = "checkunsafe",
+ visibility = ["//visibility:public"],
+ deps = [
+ "@org_golang_x_tools//go/analysis:go_tool_library",
+ ],
+)