summaryrefslogtreecommitdiffhomepage
path: root/pkg/iovec/BUILD
blob: e0c016fa32e2a5feab2229b59b65d0415ecb57f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
load("//tools:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "iovec",
    srcs = [
        "iovec.go",
        "iovec_max.go",
    ],
    visibility = ["//:sandbox"],
    deps = ["@org_golang_x_sys//unix:go_default_library"],
)

go_test(
    name = "iovec_test",
    size = "small",
    srcs = ["iovec_test.go"],
    library = ":iovec",
    deps = ["@org_golang_x_sys//unix:go_default_library"],
)