summaryrefslogtreecommitdiffhomepage
path: root/pkg/iovec/BUILD
blob: b92a58556a114b5243f47ee1934864b8cff43b91 (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"],
    visibility = ["//:sandbox"],
    deps = [
        "//pkg/abi/linux",
        "@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"],
)