diff options
Diffstat (limited to 'pkg/atomicbitops/BUILD')
-rw-r--r-- | pkg/atomicbitops/BUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/atomicbitops/BUILD b/pkg/atomicbitops/BUILD new file mode 100644 index 000000000..1a30f6967 --- /dev/null +++ b/pkg/atomicbitops/BUILD @@ -0,0 +1,22 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "atomicbitops", + srcs = [ + "atomicbitops.go", + "atomicbitops_amd64.s", + "atomicbitops_arm64.s", + "atomicbitops_noasm.go", + ], + visibility = ["//:sandbox"], +) + +go_test( + name = "atomicbitops_test", + size = "small", + srcs = ["atomicbitops_test.go"], + library = ":atomicbitops", + deps = ["//pkg/sync"], +) |